diff options
| author | Matthieu Baerts (NGI0) <[email protected]> | 2025-04-07 18:26:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-08 23:16:17 +0000 |
| commit | 21c02e8272bc95ba0dd44943665c669029b42760 (patch) | |
| tree | 8614c5ac9b87948f1720d95782b6dddcb158d915 /rust/helpers/platform.c | |
| parent | rtnetlink: Fix bad unlock balance in do_setlink(). (diff) | |
| download | kernel-21c02e8272bc95ba0dd44943665c669029b42760.tar.gz kernel-21c02e8272bc95ba0dd44943665c669029b42760.zip | |
mptcp: only inc MPJoinAckHMacFailure for HMAC failures
Recently, during a debugging session using local MPTCP connections, I
noticed MPJoinAckHMacFailure was not zero on the server side. The
counter was in fact incremented when the PM rejected new subflows,
because the 'subflow' limit was reached.
The fix is easy, simply dissociating the two cases: only the HMAC
validation check should increase MPTCP_MIB_JOINACKMAC counter.
Fixes: 4cf8b7e48a09 ("subflow: introduce and use mptcp_can_accept_new_subflow()")
Cc: [email protected]
Reviewed-by: Geliang Tang <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
