lkml.org 
[lkml]   [2004]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 14:00    [W:0.022 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site