diff options
Diffstat (limited to 'debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch')
-rw-r--r-- | debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch b/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch index 84e014caa..697f122f2 100644 --- a/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch +++ b/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch @@ -1,7 +1,7 @@ From: Thomas Gleixner <tglx@linutronix.de> Date: Wed, 22 Feb 2012 12:03:30 +0100 -Subject: [PATCH 195/353] seqlock: Prevent rt starvation -Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f274d1f15458bdf8a8f29a8e2e976e27ce2c1d93 +Subject: [PATCH 195/354] seqlock: Prevent rt starvation +Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a3ba756f999110aa6ca549e1eaa5584bbd16c4ca If a low prio writer gets preempted while holding the seqlock write locked, a high prio reader spins forever on RT. @@ -159,10 +159,10 @@ index a42a29952889..a3768cfce914 100644 } diff --git a/include/net/neighbour.h b/include/net/neighbour.h -index 5ce035984a4d..1166fc17b757 100644 +index e58ef9e338de..bd140597e068 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h -@@ -451,7 +451,7 @@ static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) +@@ -444,7 +444,7 @@ static inline int neigh_hh_bridge(struct hh_cache *hh, struct sk_buff *skb) } #endif @@ -171,7 +171,7 @@ index 5ce035984a4d..1166fc17b757 100644 { unsigned int hh_alen = 0; unsigned int seq; -@@ -493,7 +493,7 @@ static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb +@@ -486,7 +486,7 @@ static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb static inline int neigh_output(struct neighbour *n, struct sk_buff *skb) { @@ -180,7 +180,7 @@ index 5ce035984a4d..1166fc17b757 100644 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) return neigh_hh_output(hh, skb); -@@ -534,7 +534,7 @@ struct neighbour_cb { +@@ -527,7 +527,7 @@ struct neighbour_cb { #define NEIGH_CB(skb) ((struct neighbour_cb *)(skb)->cb) |