netfilter: nf_tables: store data in offload context registers
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 1 Aug 2019 12:09:26 +0000 (14:09 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 13 Aug 2019 10:10:01 +0000 (12:10 +0200)
commit43dd16efc7f235f153804500a4363769bd2276fc
tree8bee2c055e2242970abc4eda9e7d850661f7fbb0
parentbd8699e9e29287b5571b32b68c3dcd05985fa9b1
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>
include/net/netfilter/nf_tables_offload.h
net/netfilter/nft_immediate.c