Re: sk_buff destructor in 2.2.18

From: Andi Kleen (ak@suse.de)
Date: Wed May 23 2001 - 09:27:39 EST


On Wed, May 23, 2001 at 04:16:54PM +0200, christophe barbé wrote:
> Hi all,
>
> I'm trying to figure out how to use the destructor function in the skbuff
> object.
> I've read (the source code and) the alan cox's article from linuxjournal
> but it refers to linux 2.0.
> Perhaps someone can tell me what's wrong in the following :

You can't use the destructor; it is already used by the main stack for socket
memory management.

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



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:52 EST