linux/net/mptcp
Matthieu Baerts bd5dc96fea mptcp: use proper req destructor for IPv6
commit d3295fee3c upstream.

Before, only the destructor from TCP request sock in IPv4 was called
even if the subflow was IPv6.

It is important to use the right destructor to avoid memory leaks with
some advanced IPv6 features, e.g. when the request socks contain
specific IPv6 options.

Fixes: 79c0949e9a ("mptcp: Add key generation and token tree")
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-12 11:59:19 +01:00
..
Kconfig
Makefile
crypto.c
crypto_test.c
ctrl.c
diag.c
mib.c
mib.h
mptcp_diag.c
options.c mptcp: fix checksum byte order 2022-05-25 09:57:33 +02:00
pm.c
pm_netlink.c mptcp: reset the packet scheduler on PRIO change 2022-06-09 10:22:46 +02:00
protocol.c mptcp: Fix crash due to tcp_tsorted_anchor was initialized before release skb 2022-08-31 17:16:50 +02:00
protocol.h mptcp: Do TCP fallback on early DSS checksum failure 2022-05-25 14:42:07 +02:00
sockopt.c
subflow.c mptcp: use proper req destructor for IPv6 2023-01-12 11:59:19 +01:00
syncookies.c
token.c
token_test.c