summaryrefslogtreecommitdiff
path: root/net/atm/clip.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-05-28 11:14:49 +0000
committerDavid S. Miller <davem@davemloft.net>2009-05-29 01:46:28 -0700
commita489e51c1a69c3aa7e7aea925f71c92be5cedbb1 (patch)
treeadcb50b051329aa9f2cd98fef3c579bb18a5a938 /net/atm/clip.c
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/atm/clip.c')
-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)
/* 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)