diff options
author | Steen Hegelund <steen.hegelund@microchip.com> | 2022-02-03 11:29:00 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-02-03 19:01:15 -0800 |
commit | ed14fc7a79ab43e9f2cb1fa9c1733fdc133bba30 (patch) | |
tree | b17f5873c43a48a9257f6f887083ca780dc90d0e /net/netfilter | |
parent | dcb85f85fa6f142aae1fe86f399d4503d49f2b60 (diff) | |
download | linux-stable-ed14fc7a79ab43e9f2cb1fa9c1733fdc133bba30.tar.gz linux-stable-ed14fc7a79ab43e9f2cb1fa9c1733fdc133bba30.tar.bz2 linux-stable-ed14fc7a79ab43e9f2cb1fa9c1733fdc133bba30.zip |
net: sparx5: Fix get_stat64 crash in tcpdump
This problem was found with Sparx5 when the tcpdump tool requests the
do_get_stats64 (sparx5_get_stats64) statistic.
The portstats pointer was incorrectly incremented when fetching priority
based statistics.
Fixes: af4b11022e2d (net: sparx5: add ethtool configuration and statistics support)
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Link: https://lore.kernel.org/r/20220203102900.528987-1-steen.hegelund@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions