Commit a489e51c authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

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: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 28e72216
...@@ -557,6 +557,7 @@ static void clip_setup(struct net_device *dev) ...@@ -557,6 +557,7 @@ static void clip_setup(struct net_device *dev)
/* without any more elaborate queuing. 100 is a reasonable */ /* without any more elaborate queuing. 100 is a reasonable */
/* compromise between decent burst-tolerance and protection */ /* compromise between decent burst-tolerance and protection */
/* against memory hogs. */ /* against memory hogs. */
dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
} }
static int clip_create(int number) static int clip_create(int number)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment