VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   30 Branches   50 Tags
author: Sebastian Andrzej Siewior <bigeasy@linutronix.de> 2020-09-16 16:15:39 +0200 committer: Minda Chen <minda.chen@starfivetech.com> 2023-11-06 19:24:47 +0800 commit: 859f1cebcba56e6c933f7855ae73062201d7947e parent: 9eb1421db480e3050d9db5b4dd9acb82126c4658
Commit Summary:
net: Dequeue in dev_cpu_dead() without the lock
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/net/core/dev.c b/net/core/dev.c
index bd9af8c6db82..61909f8d4390 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -11317,7 +11317,7 @@ static int dev_cpu_dead(unsigned int oldcpu)
 		netif_rx_ni(skb);
 		input_queue_head_incr(oldsd);
 	}
-	while ((skb = skb_dequeue(&oldsd->input_pkt_queue))) {
+	while ((skb = __skb_dequeue(&oldsd->input_pkt_queue))) {
 		netif_rx_ni(skb);
 		input_queue_head_incr(oldsd);
 	}