Re: [PATCH] netfilter: nfnetlink_log: remove unnecessary check in __build_packet_message()

From: Sergey Shtylyov
Date: Fri Aug 09 2024 - 16:21:14 EST


On 8/9/24 10:40 AM, Roman Smirnov wrote:

> skb->dev is always non-NULL, the check is unnecessary.
>
> Remove it.

Mhm, I don't think we need that in a separate paragraph...

> Found by Linux Verification Center (linuxtesting.org) with Svace.
>
> Signed-off-by: Roman Smirnov <r.smirnov@xxxxxx>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>
[...]

MBR, Sergey