From: Subhash Gopinath <subhashg@gmail.com>
To: netfilter@lists.netfilter.org
Subject: problems calling devinet_ioctl from netfilter i/p hook
Date: Fri, 10 Dec 2004 01:33:58 -0800 [thread overview]
Message-ID: <81703d8a041210013334497f0a@mail.gmail.com> (raw)
Hello all,
I need to set the IP address of an ethernet interface from a netfilter
receive hook function
(in a kernel module)....If I call devinet_ioctl() from the hook
function....The kernel hangs reporting "Bug at skbuff.c:174"
Looks like I cannot call the ioctl from netfilter hooks since they are
called in an ISR...
I tried moving the ioctl call to a tasklet , still I get the same
error...Is there any other solution ?
Thanks,
Subhash
reply other threads:[~2004-12-10 9:33 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=81703d8a041210013334497f0a@mail.gmail.com \
--to=subhashg@gmail.com \
--cc=netfilter@lists.netfilter.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