diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-19 01:25:14 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-21 22:26:19 +0200 |
commit | ea45fdf82cc90430bb7c280e5e53821e833782c5 (patch) | |
tree | 9811840e36d6c800a3ad2794e2bd093ed6789a53 /net/sunrpc/auth.c | |
parent | netfilter: nf_tables: memleak in hw offload abort path (diff) | |
download | linux-ea45fdf82cc90430bb7c280e5e53821e833782c5.tar.xz linux-ea45fdf82cc90430bb7c280e5e53821e833782c5.zip |
netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
The VLAN transfer logic should actually check for
FLOW_DISSECTOR_KEY_BASIC, not FLOW_DISSECTOR_KEY_CONTROL. Moreover, do
not fallback to case 2) .n_proto is set to 802.1q or 802.1ad, if
FLOW_DISSECTOR_KEY_BASIC is unset.
Fixes: 783003f3bb8a ("netfilter: nftables_offload: special ethertype handling for VLAN")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/sunrpc/auth.c')
0 files changed, 0 insertions, 0 deletions