net: revert "net: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmit"
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 22 Nov 2016 07:24:43 +0000 (23:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 01:18:36 +0000 (20:18 -0500)
commita4cd0271ead09439fa03ce38fa79654dd1e5484b
treeaf406ecded28c5c9fc336cbaa5ff3e560730f147
parent93af205656bed3d8d3f4b85b2a3749c7ed7d996a
net: revert "net: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmit"

This reverts commit 7c6ae610a1f0, because l2tp_xmit_skb() never
returns NET_XMIT_CN, it ignores the return value of l2tp_xmit_core().

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