lkml.org 
[lkml]   [2000]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: skbuff changes between 2.0 and 2.2
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.030 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site