diff options
Diffstat (limited to 'debian/patches-rt/net-Dequeue-in-dev_cpu_dead-without-the-lock.patch')
-rw-r--r-- | debian/patches-rt/net-Dequeue-in-dev_cpu_dead-without-the-lock.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches-rt/net-Dequeue-in-dev_cpu_dead-without-the-lock.patch b/debian/patches-rt/net-Dequeue-in-dev_cpu_dead-without-the-lock.patch index 874db4889..2df2ad501 100644 --- a/debian/patches-rt/net-Dequeue-in-dev_cpu_dead-without-the-lock.patch +++ b/debian/patches-rt/net-Dequeue-in-dev_cpu_dead-without-the-lock.patch @@ -1,7 +1,7 @@ From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Date: Wed, 16 Sep 2020 16:15:39 +0200 Subject: [PATCH] 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.8-rt24.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.21-rt34.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,7 +20,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -10860,7 +10860,7 @@ static int dev_cpu_dead(unsigned int old +@@ -10910,7 +10910,7 @@ static int dev_cpu_dead(unsigned int old netif_rx_ni(skb); input_queue_head_incr(oldsd); } |