* [PATCH net-next-2.6] atm: unset IFF_XMIT_DST_RELEASE in clip_setup()
@ 2009-05-28 21:14 Eric Dumazet
2009-05-29 8:47 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2009-05-28 21:14 UTC (permalink / raw)
To: David S. Miller; +Cc: Linux Netdev List
clip_start_xmit() needs skb->dst so tell dev_hard_start_xmit()
to no release it.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next-2.6] atm: unset IFF_XMIT_DST_RELEASE in clip_setup()
2009-05-28 21:14 [PATCH net-next-2.6] atm: unset IFF_XMIT_DST_RELEASE in clip_setup() Eric Dumazet
@ 2009-05-29 8:47 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-05-29 8:47 UTC (permalink / raw)
To: eric.dumazet; +Cc: netdev
From: Eric Dumazet <eric.dumazet@gmail.com>
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 <eric.dumazet@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-29 8:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 21:14 [PATCH net-next-2.6] atm: unset IFF_XMIT_DST_RELEASE in clip_setup() Eric Dumazet
2009-05-29 8:47 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).