Re: [PATCH v7 1/2] audit: add audit_log_nf_skb helper function
Florian Westphal <[email protected]>
| Newsgroups | org.kernel.vger.audit,org.kernel.vger.linux-kernel,org.kernel.vger.netfilter-devel |
|---|---|
| Message-ID | <[email protected]> |
Ricardo Robaina <[email protected]> wrote: > 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. Acked-by: Florian Westphal <[email protected]>