]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfilter: nf_tables: Sort labels in nft_netdev_hook_alloc()
authorPhil Sutter <phil@nwl.cc>
Wed, 21 May 2025 20:44:31 +0000 (22:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 23 May 2025 11:57:13 +0000 (13:57 +0200)
commit6f670935b4703af1ef58b2cba7faf2bd154cce39
treea199edd06b144e679d082523c5ad4a789a60048b
parent7b4856493d7801018c48bab6f8ab8482aba8be76
netfilter: nf_tables: Sort labels in nft_netdev_hook_alloc()

No point in having err_hook_alloc, just call return directly. Also
rename err_hook_dev - it's not about the hook's device but freeing the
hook itself.

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