Dmitry Safonov f9ae848904 net/tcp_ao: Don't leak ao_info on error-path
It seems I introduced it together with TCP_AO_CMDF_AO_REQUIRED, on
version 5 [1] of TCP-AO patches. Quite frustrative that having all these
selftests that I've written, running kmemtest & kcov was always in todo.

[1]: https://lore.kernel.org/netdev/20230215183335.800122-5-dima@arista.com/

Reported-by: Jakub Kicinski <kuba@kernel.org>
Closes: https://lore.kernel.org/netdev/20240617072451.1403e1d2@kernel.org/
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>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240619-tcp-ao-required-leak-v1-1-6408f3c94247@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-06-19 17:30:19 -07:00
..
2024-05-01 18:37:07 -07:00
2024-05-06 19:14:56 -07:00
2024-05-08 10:39:26 +01:00
2024-01-23 15:13:55 +01:00
2024-04-30 18:32:38 -07:00
2024-01-04 10:23:10 -08:00
2023-10-16 21:05:33 -07:00
2024-04-30 18:46:52 -07:00
2021-05-17 15:29:35 -07:00
2024-05-29 17:34:49 -07:00
2022-12-20 03:13:45 +01:00
2024-05-06 19:14:56 -07:00
2023-09-14 16:16:36 +02:00