netfilter: nf_tables: Open-code audit log call in nf_tables_getrule()
authorPhil Sutter <phil@nwl.cc>
Thu, 19 Oct 2023 14:03:34 +0000 (16:03 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Oct 2023 11:16:29 +0000 (13:16 +0200)
commit8877393029e764036892d39614900987cbd21ca6
tree7398b905cb52150f9b112cb5f639861ac2e96896
parent7d259f021aaa78904b6c836d975e8e00d83a182a
netfilter: nf_tables: Open-code audit log call in nf_tables_getrule()

The table lookup will be dropped from that function, so remove that
dependency from audit logging code. Using whatever is in
nla[NFTA_RULE_TABLE] is sufficient as long as the previous rule info
filling succeded.

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