commit | 43e2ada3e06aefe3596be75bd05b34ef14fd1f7c | [log] [tgz] |
---|---|---|
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | Wed Oct 11 13:47:23 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 12 12:20:27 2017 -0700 |
tree | 1f6ee517e6b34cfa5f115847c2bc6467f2a449c2 | |
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>