Subject: [PATCH net-next-2.6] atm: unset IFF_XMIT_DST_RELEASE in clip_setup()

From: Eric Dumazet <[email-masked]>
Date: Thu, 28 May 2009 23:14:49 +0200

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

Signed-off-by: Eric Dumazet <[email-masked]>
---
diff --git a/net/atm/clip.c b/net/atm/clip.c
index 3dc0a3a..99b6052 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -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)