Ursula Braun 43e2ada3e0 net/smc: dev_put for netdev after usage of ib_query_gid()
For RoCEs ib_query_gid() takes a reference count on the net_device.
This reference count must be decreased by the caller.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reported-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Fixes: 0cfdd8f92cac ("smc: connection and link group creation")
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-12 12:20:27 -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