summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDaniel Starke <daniel.starke@siemens.com>2022-04-14 12:42:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 09:36:04 +0300
commita24b4b2f660b7ddf3f484b37600bba382cb28a9d (patch)
tree63630db0c7d93bb32876591aae91e1c45386a118 /tools/perf/scripts/python/net_dropmonitor.py
parent7a0e4b1733b635026a87c023f6d703faf0095e39 (diff)
downloadlinux-a24b4b2f660b7ddf3f484b37600bba382cb28a9d.tar.xz
tty: n_gsm: fix malformed counter for out of frame data
The gsm_mux field 'malformed' represents the number of malformed frames received. However, gsm1_receive() also increases this counter for any out of frame byte. Fix this by ignoring out of frame data for the malformed counter. Fixes: e1eaea46bb40 ("tty: n_gsm line discipline") Cc: stable@vger.kernel.org Signed-off-by: Daniel Starke <daniel.starke@siemens.com> Link: https://lore.kernel.org/r/20220414094225.4527-7-daniel.starke@siemens.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions