]> git.karo-electronics.de Git - linux-beck.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)
commit7c6ae610a1f0a9d3cebf790e0245b4e0f76aa86e
treeb3f4d6edd5bd8de6d98dc49b40e6cdcce9aa146c
parent6bc5445c0180a0c7cc61a95d131c7eac66459692
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