[lvc-project] [PATCH] netfilter: nfnetlink_log: remove unnecessary check in __build_packet_message()

Sergey Shtylyov s.shtylyov at omp.ru
Fri Aug 9 23:20:46 MSK 2024


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 at omp.ru>
> Reviewed-by: Sergey Shtylyov <s.shtylyov at omp.ru>
[...]

MBR, Sergey



More information about the lvc-project mailing list