On 18/10/2023 13:11, Rinat Gadelshin wrote:
That doesn't feel particularly useful to me. In fact, I think it's actually clearer-static void audit_receive(struct sk_buff *skb)Maybe we should initialize 'ack' as 'true' here?
+static void audit_receive(struct sk_buff *skb)
{
struct nlmsghdr *nlh;
+ bool ack;
uninitialised as a never-used initialisation could look like an actually-used default.
We're guaranteed to initialise before use.
- Chris