diff options
author | 2017-10-11 13:47:22 +0200 | |
---|---|---|
committer | 2017-10-12 12:20:26 -0700 | |
commit | d921c420d2efa5731011b922e5a2f2ad33203c0b (patch) | |
tree | 388381ec28f5080ac96dff1e03f904c4108fd50e /net/lapb/lapb_timer.c | |
parent | Merge branch 'dsa-ACB-for-bcm_sf2-and-bcmsysport' (diff) | |
download | wireguard-linux-d921c420d2efa5731011b922e5a2f2ad33203c0b.tar.xz wireguard-linux-d921c420d2efa5731011b922e5a2f2ad33203c0b.zip |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions