netfilter: nf_tables: Unconditionally allocate nft_obj_filter
authorPhil Sutter <phil@nwl.cc>
Fri, 20 Oct 2023 17:34:29 +0000 (19:34 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Oct 2023 11:16:30 +0000 (13:16 +0200)
commit4279cc60b354d2d2b970655a70a151cbfa1d958b
treed228a54e9e5bea29aee901bc38b03e70001e9ebc
parentff16111cc10c82ee065ffbd9fa8d6210394ff8c6
netfilter: nf_tables: Unconditionally allocate nft_obj_filter

Prep work for moving the filter into struct netlink_callback's scratch
area.

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