Commit 60df914e authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

veth: dont release skb->dst in veth_xmit()

No need to release skb->dst, its now done by core network.
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2df9001e
...@@ -176,8 +176,6 @@ static int veth_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -176,8 +176,6 @@ static int veth_xmit(struct sk_buff *skb, struct net_device *dev)
if (dev->features & NETIF_F_NO_CSUM) if (dev->features & NETIF_F_NO_CSUM)
skb->ip_summed = rcv_priv->ip_summed; skb->ip_summed = rcv_priv->ip_summed;
dst_release(skb->dst);
skb->dst = NULL;
skb->mark = 0; skb->mark = 0;
secpath_reset(skb); secpath_reset(skb);
nf_reset(skb); nf_reset(skb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment