On Sun, Aug 21, 2005 at 03:33:36PM -0700, David S. Miller wrote:
> From: "Leonid Grossman" <[EMAIL PROTECTED]>
> Date: Sun, 21 Aug 2005 13:02:00 -0400
> 
> > Andi, can you provide a callback patch please? 
> 
> Andi isn't very active in the networking these days,
> so asking him to do the work whilst he's so busy with
> x86_64 maintainence isn't the best idea :)
> 
> We'll be adding the RX free callback support soon, perhaps
> in the 2.6.14 timeframe, once we shrink the sk_buff struct
> a little bit more so that we can justify adding the extra
> member necessary for the implementation.
> 
> Basically, you'll have skb->free_callback(skb, ARG), and
> skb->free_callback_ARG.  And when the SKB and it's memory
> is about to get liberated, we'll call the callback instead
> of doing the free if the callback is non-NULL.

Does it really need to be in the skbuff?  I I think a
rx_free_skb method in struct net_device would be sufficient.

-
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

Reply via email to