netfilter: nf_tables: store chain pointer in rule transaction
authorFlorian Westphal <fw@strlen.de>
Mon, 24 Jun 2024 18:57:03 +0000 (20:57 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Jun 2024 18:40:47 +0000 (20:40 +0200)
commit13f20bc9ec4f9f25935bf52337d3d1708787bd55
tree706f23689853f91e427ad199997285ed4f3d15e7
parentd4f6f3994e133ff49e89d7e108500f45224a79e1
netfilter: nf_tables: store chain pointer in rule transaction

Currently the chain can be derived from trans->ctx.chain, but
the ctx will go away soon.

Thus add the chain pointer to nft_trans_rule structure itself.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nf_tables_offload.c