diff options
| author | Ricardo Robaina <rrobaina@redhat.com> | 2025-11-14 09:36:16 -0300 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2025-12-16 11:04:14 -0500 |
| commit | f19590b07cb620be1fcd5474c49515e21a05d406 (patch) | |
| tree | ee1512d64f275b0fb7f3bdcbdde39cdd3e11e782 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 4f493a6079b588cf1f04ce5ed6cdad45ab0d53dc (diff) | |
audit: add audit_log_nf_skb helper function
Netfilter code (net/netfilter/nft_log.c and net/netfilter/xt_AUDIT.c)
have to be kept in sync. Both source files had duplicated versions of
audit_ip4() and audit_ip6() functions, which can result in lack of
consistency and/or duplicated work.
This patch adds a helper function in audit.c that can be called by
netfilter code commonly, aiming to improve maintainability and
consistency.
Suggested-by: Florian Westphal <fw@strlen.de>
Suggested-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Ricardo Robaina <rrobaina@redhat.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
