Xiao Liang f5ba6d9d6b netfilter: nft_exthdr: Fix non-linear header modification
[ Upstream commit 28427f368f0e08d504ed06e74bc7cc79d6d06511 ]

Fix skb_ensure_writable() size. Don't use nft_tcp_header_pointer() to
make it explicit that pointers point to the packet (not local buffer).

Fixes: 99d1712bc41c ("netfilter: exthdr: tcp option set support")
Fixes: 7890cbea66e7 ("netfilter: exthdr: add support for tcp option removal")
Cc: stable@vger.kernel.org
Signed-off-by: Xiao Liang <shaw.leon@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 13:18:10 +02:00
..
2023-06-09 10:32:26 +02:00
2023-10-06 13:18:07 +02:00
2023-03-22 13:31:28 +01:00
2023-09-19 12:22:35 +02:00
2023-05-17 11:50:17 +02:00
2023-09-23 11:10:03 +02:00
2023-06-21 15:59:15 +02:00
2023-06-21 15:59:15 +02:00