diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-05-30 00:15:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-30 00:15:30 +0200 |
commit | 60df914e295a21a223e43a7ee01e0c73c64dd111 (patch) | |
tree | c7253fe7f23758043fb52ce69b47c4838ac55e2d | |
parent | tcp: fix loop in ofo handling code and reduce its complexity (diff) | |
download | linux-60df914e295a21a223e43a7ee01e0c73c64dd111.tar.xz linux-60df914e295a21a223e43a7ee01e0c73c64dd111.zip |
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>
-rw-r--r-- | drivers/net/veth.c | 2 |
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) 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); |