diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-08-01 15:09:26 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-08-13 13:10:01 +0300 |
commit | 43dd16efc7f235f153804500a4363769bd2276fc (patch) | |
tree | 8bee2c055e2242970abc4eda9e7d850661f7fbb0 /include | |
parent | bd8699e9e29287b5571b32b68c3dcd05985fa9b1 (diff) | |
download | linux-43dd16efc7f235f153804500a4363769bd2276fc.tar.xz |
netfilter: nf_tables: store data in offload context registers
Store immediate data into offload context register. This allows follow
up instructions to take it from the corresponding source register.
This patch is required to support for payload mangling, although other
instructions that take data from source register will benefit from this
too.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netfilter/nf_tables_offload.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables_offload.h b/include/net/netfilter/nf_tables_offload.h index 3196663a10e3..4977fbe7ed08 100644 --- a/include/net/netfilter/nf_tables_offload.h +++ b/include/net/netfilter/nf_tables_offload.h @@ -9,6 +9,7 @@ struct nft_offload_reg { u32 len; u32 base_offset; u32 offset; + struct nft_data data; struct nft_data mask; }; |