diff options
author | 2022-11-01 01:37:28 +0000 | |
---|---|---|
committer | 2022-11-01 12:11:01 +0100 | |
commit | 7394c2dd62dec8bdbe347d195c2dc1b332cc9ec5 (patch) | |
tree | f99ac292491995569e66aaf1437af07f654cedaf /net/netfilter/nft_objref.c | |
parent | netfilter: nft_payload: use __be16 to store gre version (diff) | |
download | wireguard-linux-7394c2dd62dec8bdbe347d195c2dc1b332cc9ec5.tar.xz wireguard-linux-7394c2dd62dec8bdbe347d195c2dc1b332cc9ec5.zip |
netfilter: nft_inner: fix return value check in nft_inner_parse_l2l3()
In nft_inner_parse_l2l3(), the return value of skb_header_pointer() is
'veth' instead of 'eth' when case 'htons(ETH_P_8021Q)' and fix it.
Fixes: 3a07327d10a0 ("netfilter: nft_inner: support for inner tunnel header matching")
Signed-off-by: Peng Wu <wupeng58@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_objref.c')
0 files changed, 0 insertions, 0 deletions