netfilter: nft_payload: access GRE payload via inner offset
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Oct 2022 11:03:29 +0000 (13:03 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Oct 2022 11:48:41 +0000 (13:48 +0200)
commitc247897d7c194e6fb4a7c8314af2226bec017a59
tree6d7820dc41282cde1c9e261449aca619af41b82d
parentd037abc2414b4539401e0e6aa278bedc4628ad69
netfilter: nft_payload: access GRE payload via inner offset

Parse GRE v0 packets to properly set up inner offset, this allow for
matching on inner headers.

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