diff options
| author | Phil Sutter <phil@nwl.cc> | 2025-01-09 18:31:37 +0100 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-01-19 16:41:54 +0100 |
| commit | 375f222800bc001bb9cbd2baa1daec006430aeba (patch) | |
| tree | dcea3ee5c4ec57e959efc26604d5ffac20987ffc /tools | |
| parent | netfilter: nf_tables: Tolerate chains with no remaining hooks (diff) | |
| download | linux-375f222800bc001bb9cbd2baa1daec006430aeba.tar.gz linux-375f222800bc001bb9cbd2baa1daec006430aeba.zip | |
netfilter: nf_tables: Simplify chain netdev notifier
With conditional chain deletion gone, callback code simplifies: Instead
of filling an nft_ctx object, just pass basechain to the per-chain
function. Also plain list_for_each_entry() is safe now.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
