diff options
author | Peng Wu <wupeng58@huawei.com> | 2022-11-01 04:37:28 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-11-01 14:11:01 +0300 |
commit | 7394c2dd62dec8bdbe347d195c2dc1b332cc9ec5 (patch) | |
tree | f99ac292491995569e66aaf1437af07f654cedaf /net/netfilter/nft_xfrm.c | |
parent | 66394126bf2045d25b70c9327a6372186bba7d66 (diff) | |
download | linux-7394c2dd62dec8bdbe347d195c2dc1b332cc9ec5.tar.xz |
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_xfrm.c')
0 files changed, 0 insertions, 0 deletions