Matti Linnanvuori wrote:
An old article about Linux's network drivers mentioned
that the struct sk_buff whose pointer is passed to a
driver's hard_start_xmit function is read-only to the
function. Is that still so? If it is, there is no
mention about it in the kernel tree as far as I know.
This begs the question, what are you trying to do? ;-)
In terms of object lifetimes, control passes to the net driver when
->hard_start_xmit() is called, but that does not mean you can freely
scribble over things -- the skb may have been cloned, its destructor
callback still needs to be called (via dev_kfree_skb), etc.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html