Skip to content

Commit

Permalink
atm: unset IFF_XMIT_DST_RELEASE in clip_setup()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed May 29, 2009
1 parent 28e7221 commit a489e51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/atm/clip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a489e51

Please sign in to comment.