aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-05-29 18:15:30 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-29 18:15:30 -0400
commit60df914e295a21a223e43a7ee01e0c73c64dd111 (patch)
treec7253fe7f23758043fb52ce69b47c4838ac55e2d /drivers/net/veth.c
parent2df9001edc382c331f338f45d259feeaa740c418 (diff)
veth: dont release skb->dst in veth_xmit()
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>
Diffstat (limited to 'drivers/net/veth.c')
-rw-r--r--drivers/net/veth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index 8e56fcf0a0e3..87197dd9c788 100644
--- 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)
176 if (dev->features & NETIF_F_NO_CSUM) 176 if (dev->features & NETIF_F_NO_CSUM)
177 skb->ip_summed = rcv_priv->ip_summed; 177 skb->ip_summed = rcv_priv->ip_summed;
178 178
179 dst_release(skb->dst);
180 skb->dst = NULL;
181 skb->mark = 0; 179 skb->mark = 0;
182 secpath_reset(skb); 180 secpath_reset(skb);
183 nf_reset(skb); 181 nf_reset(skb);