diff options
| author | Dmitry Safonov <0x7f454c46@gmail.com> | 2026-06-25 19:21:41 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-29 18:14:30 -0700 |
| commit | 6f6e860e370c9e4e919b92118a25e9e1f82e9180 (patch) | |
| tree | 47e73ecf4d42e473388b0aae0ad7be04300ace38 /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | b74cd55038905d5e74c1de109ab78a30b2ea0e1f (diff) | |
tcp: Decrement tcp_md5_needed static branch
In case of early freeing an unwanted TCP-MD5 key on TCP-AO connect(),
md5sig_info is freed right away (and set to NULL). Later, at
the moment of socket destruction, the static branch counter
is not getting decremented.
Add a missing decrement for TCP-MD5 static branch.
Reported-by: Qihang <q.h.hack.winter@gmail.com>
Fixes: 0aadc73995d0 ("net/tcp: Prevent TCP-MD5 with TCP-AO being set")
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://patch.msgid.link/20260625-tcp-md5-connect-v3-3-1fd313d6c1e0@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
