commit | f6ae9f120dada00abfb47313364c35118469455f | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Nov 04 14:41:34 2019 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Nov 13 10:41:42 2019 +0100 |
tree | 4e1fd4c024d8ef5e97184234a12a5cdb17922c15 | |
parent | be193f5e21d0ec674badef9fde8eca71fb2d8546 [diff] |
netfilter: nft_payload: add C-VLAN support If the encapsulated ethertype announces another inner VLAN header and the offset falls within the boundaries of the inner VLAN header, then adjust arithmetics to include the extra VLAN header length and fetch the bytes from the vlan header in the skbuff data area that represents this inner VLAN header. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>