]> git.baikalelectronics.ru Git - kernel.git/commit
net: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmit
authorGao Feng <gfree.wind@gmail.com>
Mon, 21 Nov 2016 00:56:21 +0000 (08:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 18:10:29 +0000 (13:10 -0500)
commit0f2c97f72ca88702beb593ca8c99d01dd7f53540
treeb3f4d6edd5bd8de6d98dc49b40e6cdcce9aa146c
parent3153653df2af21a32f9d5d394dfed99ab25c3a6c
net: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmit

The tc could return NET_XMIT_CN as one congestion notification, but
it does not mean the packe is lost. Other modules like ipvlan,
macvlan, and others treat NET_XMIT_CN as success too.
So l2tp_eth_dev_xmit should add the NET_XMIT_CN check.

Signed-off-by: Gao Feng <gfree.wind@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_eth.c