]> git.ipfire.org Git - thirdparty/iptables.git/commit
ebtables: Introduce nft_bridge_init_cs()
authorPhil Sutter <phil@nwl.cc>
Wed, 31 Jul 2024 21:07:48 +0000 (23:07 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 14 Aug 2024 07:50:31 +0000 (09:50 +0200)
commit5bef3c1293092e4849a5d06032b3fa3ec10aba99
treee1c8138659f3f0ac6fb318eb891e657fd2c33745
parent7b7c0936303abd0a7b26c8bc1382136265815677
ebtables: Introduce nft_bridge_init_cs()

The custom init done by nft_rule_to_ebtables_command_state() (which is
also the reason for its existence in the first place) should better go
into an ebtables-specific init_cs callback. Properly calling it from
do_commandeb() then removes the need for that custom rule_to_cs
callback.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-bridge.c
iptables/xtables-eb.c