Ursula Braun d921c420d2 net/smc: replace function pointer get_netdev()
SMC should not open code the function pointer get_netdev of the
IB device. Replacing ib_query_gid(..., NULL) with
ib_query_gid(..., gid_attr) allows access to the netdev.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Suggested-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-12 12:20:26 -07:00
..
2017-07-29 11:22:58 -07:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:40 -05:00
2017-09-21 15:31:02 -07:00
2017-09-21 15:31:02 -07:00
2017-01-09 16:07:40 -05:00
2017-01-09 16:07:40 -05:00
2017-09-21 15:31:03 -07:00