]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_payload: add missing attribute validation for payload csum flags
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:08:32 +0000 (21:08 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Mar 2020 01:28:17 +0000 (02:28 +0100)
commit35c76a2d923651bacaf31e5a35120045d65c3e26
tree5ddde0f3cd51d8b3335622bda815c4788de18f18
parent687b4bd6acb4faf87dfc36f83399997ec7252b27
netfilter: nft_payload: add missing attribute validation for payload csum flags

Add missing attribute validation for NFTA_PAYLOAD_CSUM_FLAGS
to the netlink policy.

Fixes: 608136091da1 ("netfilter: nft_payload: layer 4 checksum adjustment for pseudoheader fields")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_payload.c