diff options
-rw-r--r-- | patches/localversion.patch | 2 | ||||
-rw-r--r-- | patches/net-add-a-lock-around-icmp_sk.patch | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/patches/localversion.patch b/patches/localversion.patch index 72cdd2b3c760..4c1841b6475d 100644 --- a/patches/localversion.patch +++ b/patches/localversion.patch @@ -10,4 +10,4 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- /dev/null +++ b/localversion-rt @@ -0,0 +1 @@ -+-rt5 ++-rt6 diff --git a/patches/net-add-a-lock-around-icmp_sk.patch b/patches/net-add-a-lock-around-icmp_sk.patch index 523f6fbe4352..f4b60069faf2 100644 --- a/patches/net-add-a-lock-around-icmp_sk.patch +++ b/patches/net-add-a-lock-around-icmp_sk.patch @@ -53,9 +53,9 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> local_bh_disable(); + local_lock(icmp_sk_lock); - /* Check global sysctl_icmp_msgs_per_sec ratelimit */ - if (!icmpv4_global_allow(net, type, code)) -@@ -757,6 +763,7 @@ void icmp_send(struct sk_buff *skb_in, i + /* Check global sysctl_icmp_msgs_per_sec ratelimit, unless + * incoming dev is loopback. If outgoing dev change to not be +@@ -761,6 +767,7 @@ void icmp_send(struct sk_buff *skb_in, i out_unlock: icmp_xmit_unlock(sk); out_bh_enable: |