Commit 1d0f811e authored by Phil Sutter's avatar Phil Sutter Committed by Greg Kroah-Hartman
Browse files

netfilter: nf_tables: Open-code audit log call in nf_tables_getrule()



[ Upstream commit 88773930 ]

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: default avatarPhil Sutter <phil@nwl.cc>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: 9adbb419 ("netfilter: nf_tables: avoid false-positive lockdep splat on rule deletion")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cf7b5e0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment