diff options
author | Eric Dumazet | 2009-05-28 11:14:49 +0000 |
---|---|---|
committer | David S. Miller | 2009-05-29 01:46:28 -0700 |
commit | a489e51c1a69c3aa7e7aea925f71c92be5cedbb1 (patch) | |
tree | adcb50b051329aa9f2cd98fef3c579bb18a5a938 | |
parent | 28e72216d7e7af7050f171a87c1eecba93d01ea6 (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>
-rw-r--r-- | net/atm/clip.c | 1 |
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) |