summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorHans Wippel <hwippel@linux.vnet.ibm.com>2017-09-21 09:16:26 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-21 15:31:02 -0700
commit09579ac803a3638344b8544b5940793d5358673e (patch)
tree8b782521ae6440bd1b42d8738a3addaf834c58ac /kernel/rcu
parentf0ef1f4f2b772c0a1c8b35a6ae3edf974cc110dd (diff)
downloadlinux-09579ac803a3638344b8544b5940793d5358673e.tar.bz2
net/smc: add missing dev_put
In the infiniband part, SMC currently uses get_netdev which calls dev_hold on the returned net device. However, the SMC code never calls dev_put on that net device resulting in a wrong reference count. This patch adds a dev_put after the usage of the net device to fix the issue. Signed-off-by: Hans Wippel <hwippel@linux.vnet.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions