diff options
author | Pablo Neira Ayuso | 2022-02-17 23:41:20 +0100 |
---|---|---|
committer | Pablo Neira Ayuso | 2022-02-20 01:22:20 +0100 |
commit | b1a5983f56e371046dcf164f90bfaf704d2b89f6 (patch) | |
tree | abfbbfe6bf9801129822d9fede2a46dcea87e783 /include/linux | |
parent | 2874b7911132f6975e668f6849c8ac93bc4e1f35 (diff) |
netfilter: nf_tables_offload: incorrect flow offload action array size
immediate verdict expression needs to allocate one slot in the flow offload
action array, however, immediate data expression does not need to do so.
fwd and dup expression need to allocate one slot, this is missing.
Add a new offload_action interface to report if this expression needs to
allocate one slot in the flow offload action array.
Fixes: be2861dc36d7 ("netfilter: nft_{fwd,dup}_netdev: add offload support")
Reported-and-tested-by: Nick Gregory <Nick.Gregory@Sophos.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions