X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=queue-5.1%2Fhv_netvsc-fix-extra-rcu_read_unlock-in-netvsc_recv_callback.patch;fp=queue-5.1%2Fhv_netvsc-fix-extra-rcu_read_unlock-in-netvsc_recv_callback.patch;h=0000000000000000000000000000000000000000;hb=10aba37498e94f0ae291f1dd314b0bf05f06c3a4;hp=7b9b35f83582ff1bf1c88b5a4d1017025ae95b5c;hpb=07763d54ee2400eee9e9e7c9dae7fb3587976045;p=thirdparty%2Fkernel%2Fstable-queue.git diff --git a/queue-5.1/hv_netvsc-fix-extra-rcu_read_unlock-in-netvsc_recv_callback.patch b/queue-5.1/hv_netvsc-fix-extra-rcu_read_unlock-in-netvsc_recv_callback.patch deleted file mode 100644 index 7b9b35f835..0000000000 --- a/queue-5.1/hv_netvsc-fix-extra-rcu_read_unlock-in-netvsc_recv_callback.patch +++ /dev/null @@ -1,31 +0,0 @@ -From foo@baz Fri 26 Jul 2019 10:52:07 AM CEST -From: Haiyang Zhang -Date: Fri, 19 Jul 2019 17:33:51 +0000 -Subject: hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback() - -From: Haiyang Zhang - -[ Upstream commit be4363bdf0ce9530f15aa0a03d1060304d116b15 ] - -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 -Signed-off-by: David S. Miller -Signed-off-by: Greg Kroah-Hartman ---- - drivers/net/hyperv/netvsc_drv.c | 1 - - 1 file changed, 1 deletion(-) - ---- a/drivers/net/hyperv/netvsc_drv.c -+++ b/drivers/net/hyperv/netvsc_drv.c -@@ -849,7 +849,6 @@ int netvsc_recv_callback(struct net_devi - - if (unlikely(!skb)) { - ++net_device_ctx->eth_stats.rx_no_memory; -- rcu_read_unlock(); - return NVSP_STAT_FAIL; - } -