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:
2df9001
)
veth: dont release skb->dst in veth_xmit()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Fri, 29 May 2009 22:15:30 +0000
(15:15 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 29 May 2009 22:15:30 +0000
(15:15 -0700)
No need to release skb->dst, its now done by core network.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c
patch
|
blob
|
history
diff --git
a/drivers/net/veth.c
b/drivers/net/veth.c
index 8e56fcf0a0e34eada5e2be3d9339e6a2c30364b8..87197dd9c78847b1eec6497ea331df660841bf83 100644
(file)
--- a/
drivers/net/veth.c
+++ b/
drivers/net/veth.c
@@
-176,8
+176,6
@@
static int veth_xmit(struct sk_buff *skb, struct net_device *dev)
if (dev->features & NETIF_F_NO_CSUM)
skb->ip_summed = rcv_priv->ip_summed;
- dst_release(skb->dst);
- skb->dst = NULL;
skb->mark = 0;
secpath_reset(skb);
nf_reset(skb);