Skip to contentSkip to conversation

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

PATCH Applied Eric Dumazet 2 participants 2 messages May 29, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

No need to release skb->dst, its now done by core network.

---

drivers/net/veth.c +0 -2
index 8e56fcf..87197dd 100644
@@ -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);