[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Freeing skbuff (was: Re: Sending built-by-hand packet and kernel panic.)
> Thanks a lot for pointing out these problems. I had completely missed them.
> However, my overall problem is not solved. As far as my investigations
> led me, my sk_buff structure is never released after having been sent on
> the wire. So I guess I need an explicit destructor function in my
> sk_buff as the following is present in the definition of struct sk_buff:
> void (*destructor)(struct sk_buff *); /* Destruct function
> */

Hi Emmanuel, maybe the call that sends to skb (NF_HOOK) is returning
a non-zero error code. In that case it is your responsability [1] to free the


[1] This is true for many parts of the kernel but not all. I don't know what
NF_HOOK is so this may not apply here.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:00    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean