]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: add pppoe support
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 24 Mar 2021 01:30:43 +0000 (02:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 19:48:39 +0000 (12:48 -0700)
commit83061518236c4e42c81cd95a1cf37956f0a5cb20
treed4a1c9493eacfae28ab0f84f25605b73e2c3ad62
parenta76493cac260ad806777da2cf1d5b2b89463e4f3
netfilter: flowtable: add pppoe support

Add the PPPoE protocol and session id to the flow tuple using the encap
fields to uniquely identify flows from the receive path. For the
transmit path, dev_hard_header() on the vlan device push the headers.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_flow_table_ip.c
net/netfilter/nft_flow_offload.c