commit | f52e4b27d1ac837caa84973262f7057578f6e316 | [log] [tgz] |
---|---|---|
author | Tom Parkin <tparkin@katalix.com> | Fri Sep 18 11:23:21 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 18 14:36:54 2020 -0700 |
tree | eac7bc551ee75716488daad6203af8e0cbe276df | |
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>