linux/net/l2tp
Tom Parkin de68b039e9 l2tp: capture more tx errors in data plane stats
l2tp_xmit_skb has a number of failure paths which are not reflected in
the tunnel and session statistics because the stats are updated by
l2tp_xmit_core.  Hence any errors occurring before l2tp_xmit_core is
called are missed from the statistics.

Refactor the transmit path slightly to capture all error paths.

l2tp_xmit_skb now leaves all the actual work of transmission to
l2tp_xmit_core, and updates the statistics based on l2tp_xmit_core's
return code.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-03 12:19:03 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
l2tp_core.c l2tp: capture more tx errors in data plane stats 2020-09-03 12:19:03 -07:00
l2tp_core.h l2tp: drop net argument from l2tp_tunnel_create 2020-09-03 12:19:03 -07:00
l2tp_debugfs.c l2tp: remove tunnel and session debug flags field 2020-08-22 12:44:37 -07:00
l2tp_eth.c l2tp: remove header length param from l2tp_xmit_skb 2020-09-03 12:19:03 -07:00
l2tp_ip6.c l2tp: don't log data frames 2020-08-22 12:44:37 -07:00
l2tp_ip.c l2tp: don't log data frames 2020-08-22 12:44:37 -07:00
l2tp_netlink.c l2tp: drop net argument from l2tp_tunnel_create 2020-09-03 12:19:03 -07:00
l2tp_ppp.c l2tp: drop net argument from l2tp_tunnel_create 2020-09-03 12:19:03 -07:00
Makefile l2tp: add tracepoint infrastructure to core 2020-08-22 12:44:37 -07:00
trace.h l2tp: add tracepoint definitions in trace.h 2020-08-22 12:44:37 -07:00