lkml.org 
[lkml]   [2004]   [Feb]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 02 Feb 2004 13:51:20 +0200
FromEmmanuel Guiton <>
SubjectHandling sk_buff correctly.
Hi!

I'm writing a module where I need to build and send a packet by hand. 
For this I properly (at least I hope so) fill a sk_buff structure and 
send it using NF_HOOK (seem to work fine, NF_HOOK returns 0). Sending 
one packet goes fine, sending several leads to kernel crashes. I think I 
don't handle correctly the release of the memory, but how should I do? I 
have no destructor function in my sk_buff, do I have to have one? (here, 
my attempts also lead to kernel crashes).

Bye,

         Emmanuel

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008