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.