diff options
author | Tom Parkin <tparkin@katalix.com> | 2020-09-18 11:23:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 14:36:54 -0700 |
commit | f52e4b27d1ac837caa84973262f7057578f6e316 (patch) | |
tree | eac7bc551ee75716488daad6203af8e0cbe276df /net/dsa/master.c | |
parent | a9fd686a71e97f7be3e3e640957a3228cb1fd1d7 (diff) |
l2tp: fix up inconsistent rx/tx statistics
Historically L2TP core statistics count the L2TP header in the
per-session and per-tunnel byte counts tracked for transmission and
receipt.
Now that l2tp_xmit_skb updates tx stats, it is necessary for
l2tp_xmit_core to pass out the length of the transmitted packet so that
the statistics can be updated correctly.
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/master.c')
0 files changed, 0 insertions, 0 deletions