]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 19 Jul 2019 17:33:51 +0000 (17:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jul 2019 03:40:28 +0000 (20:40 -0700)
commitbe4363bdf0ce9530f15aa0a03d1060304d116b15
tree5f5f9cc3f74e5dad5b8311c88f0c158f110bde12
parent107e47cc80ec37cb332bd41b22b1c7779e22e018
hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()

There is an extra rcu_read_unlock left in netvsc_recv_callback(),
after a previous patch that removes RCU from this function.
This patch removes the extra RCU unlock.

Fixes: 345ac08990b8 ("hv_netvsc: pass netvsc_device to receive callback")
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c