[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZsR9Mr3REnkE3wPn@calendula>
Date: Tue, 20 Aug 2024 13:25:38 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Roman Smirnov <r.smirnov@....ru>
Cc: Jozsef Kadlecsik <kadlec@...filter.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Sergey Shtylyov <s.shtylyov@....ru>,
Karina Yankevich <k.yankevich@....ru>, lvc-project@...uxtesting.org
Subject: Re: [PATCH] netfilter: nfnetlink_log: remove unnecessary check in
__build_packet_message()
On Fri, Aug 09, 2024 at 10:40:35AM +0300, Roman Smirnov wrote:
> skb->dev is always non-NULL, the check is unnecessary.
Same check exists in nfnetlink_queue, these two codebases have many
similarities.
I cannot think of any scenario where skb->dev is NULL in any of the
existing hooks.
Powered by blists - more mailing lists