]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft-chain: Introduce base_slot field
authorPhil Sutter <phil@nwl.cc>
Fri, 17 Sep 2021 14:51:33 +0000 (16:51 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 27 Sep 2021 11:29:45 +0000 (13:29 +0200)
commite865a853d7afcff4b2d4279ef843cd13fa6defa1
tree33ea6d71d70fa2d8b4b14698682ff4bd25ef5824
parentf9b33967f2b4b58160c0a970da77d5e44406803a
nft-chain: Introduce base_slot field

For builtin chains, record the base_chains array slot they are assigned
to. This simplifies removing that reference if they are being deleted
later.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-cache.c
iptables/nft-chain.h
iptables/nft.c