for_each_netdev() is a more direct interface and doesn't require
library support.
Also get the ip address directly from the net_device, rather than
using lnet_ipif_query().
Linux-commit:
f703f71afd98e6e7ec70f92ffc52ef3ffffcd849
Linux-commit:
9eb957b98aa6322abde33240bf50dd483c5d1190
Change-Id: I82894991b9a4a250d0560af31325b6c765cc0620
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/33966
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>