diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-10-10 20:36:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-12 03:24:46 +0300 |
commit | 71c299c711d1f44f0bf04f1fea66baad565240f1 (patch) | |
tree | 700a909d805b731d7e107a8ee6b2a5e2ed25a9c4 /net/mctp | |
parent | 8bcfc9ded21c1b8831636ea687db923feba0faf5 (diff) | |
download | linux-71c299c711d1f44f0bf04f1fea66baad565240f1.tar.xz |
net: tcp: fix crashes trying to free half-baked MTU probes
tcp_stream_alloc_skb() initializes the skb to use tcp_tsorted_anchor
which is a union with the destructor. We need to clean that
TCP-iness up before freeing.
Fixes: 736013292e3c ("tcp: let tcp_mtu_probe() build headless packets")
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20231010173651.3990234-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mctp')
0 files changed, 0 insertions, 0 deletions