]> 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)
commit76d1f27effd4ce543934a95d6b5524456b9be24f
tree7866d9d2b20e13d403ee617dc2c5b1637a9158cb
parent22710f5f127db0e918b84cf07dbc6f6503fa0111
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