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: 0cfdd8f9 ("smc: connection and link group creation") Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
d921c420
Please register or sign in to comment