Re: skbuff changes between 2.0 and 2.2

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Mar 07 2000 - 19:34:03 EST


> there are two other changes i don't understand. dev_free_skb used to take
> a mode flag and no longer does. skbuff used to also have a free flag in it
> that is gone. how is this handled now?

The skbuff knows what direction of queue it was on, the free flag is gone as
drivers are now fed cloned buffers

> also, there used to be a pointer data_skb that is gone. is the current skb
> always the data skb now?

its none of your business to poke inside it now - if you need to get a copy you
can alter the data in use the skb_* functions - skb_unshare()

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:24 EST