commit | a7eb38aacc81623f338d6c6f19604ace2fe4ec15 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Apr 12 14:20:15 2021 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 14 09:50:40 2021 +0200 |
tree | 6a779832cb655462dfadec5a1890bd20743d9a90 | |
parent | cf2de861b2794f98363072e078ac9375d8e8f83e [diff] |
netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector [ Upstream commit ff4d90a89d3d4d9814e0a2696509a7d495be4163 ] The flow dissector representation expects the VLAN id in host byteorder. Add the NFT_OFFLOAD_F_NETWORK2HOST flag to swap the bytes from nft_cmp. Fixes: a82055af5959 ("netfilter: nft_payload: add VLAN offload support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>