Re: [PATCH v5 1/2] audit: add audit_log_packet_ip4 and audit_log_packet_ip6 helper functions

From: Ricardo Robaina
Date: Tue Nov 11 2025 - 06:06:26 EST


On Mon, Nov 10, 2025 at 9:43 AM Florian Westphal <fw@xxxxxxxxx> wrote:
>
> Ricardo Robaina <rrobaina@xxxxxxxxxx> wrote:
> > > +int audit_log_nft_skb(struct audit_buffer *ab,
> > > + struct sk_buff *skb, u8 nfproto)
> > Thanks for reviewing this patch, Paul.
> >
> > It makes sense to me. I'll work on a newer version addressing your suggestions.
>
> Nit, but as you need to resend anyway, can you also make this
> 'const struct sk_buff *' ?
>
> Also, given this isn't nftables specific, I suggest
> audit_log_nf_skb, audit_log_netfilter_skb or some such instead.
>
> Thanks.
>

Sure!