[Devel] [PATCH RHEL9 COMMIT] Revert "ms/net: neigh: use dev_kfree_skb_irq instead of kfree_skb()"

Konstantin Khorenko khorenko at virtuozzo.com
Thu Sep 29 18:56:28 MSK 2022


The commit is pushed to "branch-rh9-5.14.0-70.22.1.vz9.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-70.22.1.vz9.17.7
------>
commit 12b56cdf38954a876552fa186556f5ad7be687dc
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Thu Sep 29 18:42:19 2022 +0300

    Revert "ms/net: neigh: use dev_kfree_skb_irq instead of kfree_skb()"
    
    This reverts commit 7d646254a337b81ff9db1dda45a8cd7f32d634c3.
    
    We are going to backport the mainstream version of this patch.
    d5485d9dd24e ("net: neigh: don't call kfree_skb() under spin_lock_irqsave()")
    
    https://lore.kernel.org/netdev/79784952-0d15-8a4a-aa8d-590bc243ab5e@virtuozzo.com/t/
    
    https://jira.sw.ru/browse/PSBM-141642
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 net/core/neighbour.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 00a34da3b751..4f7edf22c2fd 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -304,7 +304,7 @@ static void pneigh_queue_purge(struct sk_buff_head *list, struct net *net)
 			__skb_unlink(skb, list);
 
 			dev_put(dev);
-			dev_kfree_skb_irq(skb);
+			kfree_skb(skb);
 		}
 		skb = skb_next;
 	}


More information about the Devel mailing list