projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c51e53
)
net: core: Remove redundant call to 'nf_reset' in 'dev_forward_skb'
author
Shmulik Ladkani
<
[email protected]
>
Wed, 27 Mar 2013 23:13:26 +0000
(23:13 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 29 Mar 2013 19:25:28 +0000
(15:25 -0400)
'nf_reset' is called just prior calling 'netif_rx'.
No need to call it twice.
Reported-by: Igor Michailov <
[email protected]
>
Signed-off-by: Shmulik Ladkani <
[email protected]
>
Acked-by: Eric Dumazet <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index b13e5c766c11359507a61bb9689c9841d660951a..6591440cc03d17e04794e33f08042879f2123dd7 100644
(file)
--- 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);