[openib-general] question : skb->dev versus dev_kfree_skb_any

Michael S. Tsirkin mst at mellanox.co.il
Sun Nov 6 02:43:18 PST 2005


Hello, Roland!
Why is ipoib always setting skb->dev before calling dev_kfree_skb_any?
E.g. ipoib_multicast.c, line 126, has

                skb->dev = dev;
                dev_kfree_skb_any(skb);

I went through dev_kfree_skb_any and couldnt see where does it use the dev
member. What am I missing?

Thanks,

-- 
MST



More information about the general mailing list