[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1364462006-5814-1-git-send-email-shmulik.ladkani@gmail.com>
Date: Thu, 28 Mar 2013 11:13:26 +0200
From: Shmulik Ladkani <shmulik.ladkani@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Ben Greear <greearb@...delatech.com>, netdev@...r.kernel.org,
Igor Michailov <rgohita@...il.com>,
Shmulik Ladkani <shmulik.ladkani@...il.com>
Subject: [PATCH] net: core: Remove redundant call to 'nf_reset' in 'dev_forward_skb'
'nf_reset' is called just prior calling 'netif_rx'.
No need to call it twice.
Reported-by: Igor Michailov <rgohita@...il.com>
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@...il.com>
---
net/core/dev.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 2db88df..071f398 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1624,7 +1624,6 @@ int dev_forward_skb(struct net_device *dev, struct sk_buff *skb)
}
skb_orphan(skb);
- nf_reset(skb);
if (unlikely(!is_skb_forwardable(dev, skb))) {
atomic_long_inc(&dev->rx_dropped);
--
1.7.9
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists