]> git.baikalelectronics.ru Git - kernel.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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Dec 2019 21:58:26 +0000 (22:58 +0100)
commit19548459cb7fb555a7406a5d89cb31b13735d959
tree463eeb18fec64332c649635379b9ab531ec142ba
parent21d8dc4e6461d6d6782d1e8e2c8b6dc9f6ed5b1a
netfilter: nft_tunnel: add the missing ERSPAN_VERSION nla_policy

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

Fixes: c5772b556846 ("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>
net/netfilter/nft_tunnel.c