From: Emmanuel Guiton <emmanuel@netlab.hut.fi>
To: linux-kernel@vger.kernel.org
Subject: Handling sk_buff correctly.
Date: Mon, 02 Feb 2004 13:51:20 +0200 [thread overview]
Message-ID: <401E39B8.3080408@netlab.hut.fi> (raw)
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
reply other threads:[~2004-02-02 11:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=401E39B8.3080408@netlab.hut.fi \
--to=emmanuel@netlab.hut.fi \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox