mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
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>
This commit is contained in:
parent
bd8699e9e2
commit
43dd16efc7
2 changed files with 18 additions and 7 deletions
|
|
@ -9,6 +9,7 @@ struct nft_offload_reg {
|
|||
u32 len;
|
||||
u32 base_offset;
|
||||
u32 offset;
|
||||
struct nft_data data;
|
||||
struct nft_data mask;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue