]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfilter: nf_tables: Compare netdev hooks based on stored name
authorPhil Sutter <phil@nwl.cc>
Thu, 9 Jan 2025 17:31:35 +0000 (18:31 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 19 Jan 2025 15:41:53 +0000 (16:41 +0100)
commitbc87b75847d86f073a3df56e4ad44265b3d64e44
tree14efabfa5c0a512c3f7dc5b0985ceb299ae86493
parent880ccec0d02efb24900f589d0cac826af1d91523
netfilter: nf_tables: Compare netdev hooks based on stored name

The 1:1 relationship between nft_hook and nf_hook_ops is about to break,
so choose the stored ifname to uniquely identify hooks.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c