]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: Fix QinQ and pppoe support for inet table
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 16 Mar 2022 10:19:43 +0000 (11:19 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 16 Mar 2022 10:25:04 +0000 (11:25 +0100)
commit1e8305b9f720a2df8d3f2f3eef31313adedb3805
tree7995a11e6e4eec03fb481ecbab014ead6d2c34c6
parent196009046e02aac9566cb2aeba7d08dbde187525
netfilter: flowtable: Fix QinQ and pppoe support for inet table

nf_flow_offload_inet_hook() does not check for 802.1q and PPPoE.
Fetch inner ethertype from these encapsulation protocols.

Fixes: 83061518236c ("netfilter: flowtable: add pppoe support")
Fixes: 2351d83827a1 ("netfilter: flowtable: add vlan support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_flow_table.h
net/netfilter/nf_flow_table_inet.c
net/netfilter/nf_flow_table_ip.c