mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
netfilter: nft_payload: do not truncate csum_offset and csum_type
[ Upstream commit7044ab281f] Instead report ERANGE if csum_offset is too long, and EOPNOTSUPP if type is not support. Fixes:7ec3f7b47b("netfilter: nft_payload: add packet mangling support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0ee5c638e1
commit
09cd8ecf31
1 changed files with 13 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue