diff options
Diffstat (limited to 'debian/patches-rt/0237-net-Dequeue-in-dev_cpu_dead-without-the-lock.patch')
-rw-r--r-- | debian/patches-rt/0237-net-Dequeue-in-dev_cpu_dead-without-the-lock.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches-rt/0237-net-Dequeue-in-dev_cpu_dead-without-the-lock.patch b/debian/patches-rt/0237-net-Dequeue-in-dev_cpu_dead-without-the-lock.patch index 36e0d28d2..d39bd9cc6 100644 --- a/debian/patches-rt/0237-net-Dequeue-in-dev_cpu_dead-without-the-lock.patch +++ b/debian/patches-rt/0237-net-Dequeue-in-dev_cpu_dead-without-the-lock.patch @@ -1,8 +1,8 @@ -From 95dbb10c81619c9a35a63f73dadd7379d95fdec0 Mon Sep 17 00:00:00 2001 +From 4945a58297bdc5e20dac7ac3364e6fe143f48866 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Date: Wed, 16 Sep 2020 16:15:39 +0200 Subject: [PATCH 237/323] net: Dequeue in dev_cpu_dead() without the lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz Upstream uses skb_dequeue() to acquire lock of `input_pkt_queue'. The reason is to synchronize against a remote CPU which still thinks that the CPU is online @@ -20,10 +20,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c -index 895eb42bb5d6..c55993848233 100644 +index 48fcb050b5a7b..7e8a78e1c749a 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -10980,7 +10980,7 @@ static int dev_cpu_dead(unsigned int oldcpu) +@@ -10988,7 +10988,7 @@ static int dev_cpu_dead(unsigned int oldcpu) netif_rx_ni(skb); input_queue_head_incr(oldsd); } @@ -33,5 +33,5 @@ index 895eb42bb5d6..c55993848233 100644 input_queue_head_incr(oldsd); } -- -2.43.0 +2.44.0 |