Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reported-by: Parav Pandit <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Fixes: 0cfdd8f ("smc: connection and link group creation") Signed-off-by: David S. Miller <[email protected]>
- Loading branch information