diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-05-29 15:15:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-29 15:15:30 -0700 |
commit | 60df914e295a21a223e43a7ee01e0c73c64dd111 (patch) | |
tree | c7253fe7f23758043fb52ce69b47c4838ac55e2d /drivers | |
parent | 2df9001edc382c331f338f45d259feeaa740c418 (diff) | |
download | linux-3.10-60df914e295a21a223e43a7ee01e0c73c64dd111.tar.gz linux-3.10-60df914e295a21a223e43a7ee01e0c73c64dd111.tar.bz2 linux-3.10-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>
Diffstat (limited to 'drivers')
-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 8e56fcf0a0e..87197dd9c78 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); |