diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2017-10-11 13:47:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-12 12:20:27 -0700 |
commit | 43e2ada3e06aefe3596be75bd05b34ef14fd1f7c (patch) | |
tree | 1f6ee517e6b34cfa5f115847c2bc6467f2a449c2 /ipc | |
parent | d921c420d2efa5731011b922e5a2f2ad33203c0b (diff) |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions