浏览代码

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>
Eric Dumazet 16 年之前
父节点
当前提交
a489e51c1a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/atm/clip.c

+ 1 - 0
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)