/* legacy helper around netdev_alloc_skb() */
static inline struct sk_buff *dev_alloc_skb(unsigned int length)
return netdev_alloc_skb(NULL, length);
And the flow dissector expects this net device to find the associated
net namespace from the skb.
There shouldn't really be any issues unless you want to use the BPF
flow dissector and it's safe to ignore this warning.
If you'd like to properly fix it, you have to replace these
dev_alloc_skb calls with netdev_alloc_skb+proper net_device.