]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Add potentially missing init_cs calls
authorPhil Sutter <phil@nwl.cc>
Sat, 27 Jul 2024 13:08:08 +0000 (15:08 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 31 Jul 2024 21:13:55 +0000 (23:13 +0200)
commit0b2e2f38d6c5c373373ab35157b406280b86b503
tree56ee7dc72607500291cdda1cff0afba3a19376e5
parentdb7fc1862b8bd5e2eea83ed4089fcf35fc01c032
nft: Add potentially missing init_cs calls

The callback is there for arptables only, so other family specific code
does not need it. Not calling it from family-agnostic code is wrong
though, as is ignoring it in arptables-specific code.

Fixes: cfdda18044d81 ("nft-shared: Introduce init_cs family ops callback")
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-arp.c
iptables/nft.c