netfilter: nft_payload: rebuild vlan header when needed
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Jun 2023 07:38:42 +0000 (09:38 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Jun 2023 06:05:45 +0000 (08:05 +0200)
commitde6843be3082d416eaf2a00b72dad95c784ca980
tree00e39c3f0dc6bbbacdd6789466556be9b328356c
parent4f325e26277b6a1381235008ca6fa97e6cc8f43b
netfilter: nft_payload: rebuild vlan header when needed

Skip rebuilding the vlan header when accessing destination and source
mac address.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_payload.c