All of lore.kernel.org
 help / color / mirror / Atom feed
* Handling sk_buff correctly.
@ 2004-02-02 11:51 Emmanuel Guiton
  0 siblings, 0 replies; only message in thread
From: Emmanuel Guiton @ 2004-02-02 11:51 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-02 11:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-02 11:51 Handling sk_buff correctly Emmanuel Guiton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.