]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_payload: add VLAN offload support
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 19 Nov 2019 22:05:54 +0000 (23:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Nov 2019 19:21:34 +0000 (11:21 -0800)
commit2850100d7e2c43be86eecf837f944e68fe3e296f
tree7866d9d2b20e13d403ee617dc2c5b1637a9158cb
parentd0a013cdd83b3d69d4d5a3bef201f48037d195aa
netfilter: nft_payload: add VLAN offload support

Match on ethertype and set up protocol dependency. Check for protocol
dependency before accessing the tci field. Allow to match on the
encapsulated ethertype too.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
net/netfilter/nft_payload.c