RE: [PATCH net 1/2] net/smc: replace function pointer get_netdev()

2017-10-10 Thread Parav Pandit
idef...@de.ibm.com; > heiko.carst...@de.ibm.com; ra...@linux.vnet.ibm.com; > ubr...@linux.vnet.ibm.com; Parav Pandit > Subject: [PATCH net 1/2] net/smc: replace function pointer get_netdev() > > SMC should not open code the function pointer get_netdev of the IB device. > Replacing ib_qu

[PATCH net 1/2] net/smc: replace function pointer get_netdev()

2017-10-10 Thread Ursula Braun
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 Suggested-by: Parav Pandit --- net/smc/smc_ib.c | 26 +- 1 file changed,