]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit9d6effb2f1523eb84516e44213c00f2fd9e6afff
tree5ddde0f3cd51d8b3335622bda815c4788de18f18
parentc049b3450072b8e3998053490e025839fecfef31
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: 1814096980bb ("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