From 180c3d275924e20636a2bf7a5f34e738dd3a252d Mon Sep 17 00:00:00 2001 From: Subash Abhinov Kasiviswanathan Date: Wed, 12 Oct 2016 12:52:59 -0600 Subject: [PATCH] net: core: Remove warning for cloned packets in ingress path This reverts commit b97da4469bcf76f ("net: Warn for cloned packets in ingress path on SMP systems only") and commit e1f88edd76e19ee ("net: Warn for cloned packets in ingress path"). The path for GRO is well tested now and cannot receive cloned packets. Loopback packets are triggering this warning leading to a false positive. CRs-Fixed: 1077079 Change-Id: I8f36906f508998c6369f30e0eadc1703c70533b9 Signed-off-by: Subash Abhinov Kasiviswanathan --- net/core/dev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index a299c3956daa..a4c647893e52 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3544,9 +3544,6 @@ static int netif_rx_internal(struct sk_buff *skb) trace_netif_rx(skb); #ifdef CONFIG_RPS - WARN_ONCE(skb_cloned(skb), "Cloned packet from dev %s\n", - skb->dev->name); - if (static_key_false(&rps_needed)) { struct rps_dev_flow voidflow, *rflow = &voidflow; int cpu;