diff options
author | Daniel Starke <[email protected]> | 2023-08-17 11:32:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 15:21:24 +0200 |
commit | b99f51ba04035b2394cae008f9ac09563b012307 (patch) | |
tree | dafcbe3fa9c977257d39edcc00c7b1ce0e5dfd5d /net/lapb/lapb_timer.c | |
parent | a1ce6da0833b91355499568caf0f432074d91cee (diff) |
tty: n_gsm: increase malformed counter for malformed control frames
The malformed counter in gsm_mux is already increased in case of errors
detected in gsm_queue() and gsm1_receive(). gsm_dlci_command() also
detects a case for a malformed frame but does not increase the malformed
counter yet.
Fix this by also increasing the gsm_mux malformed counter in case of a
malformed frame in gsm_dlci_command().
Note that the malformed counter is not yet exposed and only set internally.
Signed-off-by: Daniel Starke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions