aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-05-28 07:14:49 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-29 04:46:28 -0400
commita489e51c1a69c3aa7e7aea925f71c92be5cedbb1 (patch)
treeadcb50b051329aa9f2cd98fef3c579bb18a5a938 /net
parent28e72216d7e7af7050f171a87c1eecba93d01ea6 (diff)
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. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/atm/clip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c
index 5597b87b9e64..fb7623c080f8 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -557,6 +557,7 @@ static void clip_setup(struct net_device *dev)
557 /* without any more elaborate queuing. 100 is a reasonable */ 557 /* without any more elaborate queuing. 100 is a reasonable */
558 /* compromise between decent burst-tolerance and protection */ 558 /* compromise between decent burst-tolerance and protection */
559 /* against memory hogs. */ 559 /* against memory hogs. */
560 dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
560} 561}
561 562
562static int clip_create(int number) 563static int clip_create(int number)