Skip to contentSkip to conversation

atm: unset IFF_XMIT_DST_RELEASE in clip_setup()

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

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

PATCH 1/1 atm: unset IFF_XMIT_DST_RELEASE in clip_setup()

clip_start_xmit() needs skb->dst so tell dev_hard_start_xmit() to no release it.

---

net/atm/clip.c +1 -0
index 3dc0a3a..99b6052 100644
@@ -568,6 +568,7 @@ static void clip_setup(struct net_device *dev)
 	/* without any more elaborate queuing. 100 is a reasonable */
 	/* compromise between decent burst-tolerance and protection */
 	/* against memory hogs. */
+	dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
 }
 
 static int clip_create(int number)