]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nft_tunnel: add the missing ERSPAN_VERSION nla_policy
authorXin Long <lucien.xin@gmail.com>
Fri, 13 Dec 2019 08:53:06 +0000 (16:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:36:37 +0000 (08:36 +0100)
commitb6c857e5e500ec13d90f4a790c76c0528244cb37
tree613d625bb192e87bb05f97e33d58a9064feab6f1
parent1e2b6e5f32aabf201c01457b1dabf8c7a161a47d
netfilter: nft_tunnel: add the missing ERSPAN_VERSION nla_policy

[ Upstream commit 0705f95c332081036d85f26691e9d3cd7d901c31 ]

ERSPAN_VERSION is an attribute parsed in kernel side, nla_policy
type should be added for it, like other attributes.

Fixes: af308b94a2a4 ("netfilter: nf_tables: add tunnel support")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nft_tunnel.c