public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: alexey.vyskubov@nokia.com (Alexey Vyskubov)
To: ext Andi Kleen <ak@suse.de>
Cc: Gautier Harmel <Gautier.Harmel@qosmos.net>, linux-kernel@vger.kernel.org
Subject: Re: How to pass packets up to protocols layer ?
Date: Thu, 28 Jun 2001 16:40:47 +0300	[thread overview]
Message-ID: <20010628164047.A9478@terrapin> (raw)
In-Reply-To: <3B3AFFDE.2763D18F@qosmos.net.suse.lists.linux.kernel> <oup3d8k4vz0.fsf@pigdrop.muc.suse.de>
In-Reply-To: <oup3d8k4vz0.fsf@pigdrop.muc.suse.de>

> Either use netif_rx()/ for complete packets that should go through the
> whole stack again or nf_reinject() from your hook.

Is it really possible to call netif_rx from netfilter hook? I try to
call netif_rx(skb) from PRE_ROUTING hook (returning NF_STOLEN)
and kernel immediately crashes, even if I did nothing with skb at all.
Why it happens this way?

-- 
Alexey

  reply	other threads:[~2001-06-28 13:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3B3AFFDE.2763D18F@qosmos.net.suse.lists.linux.kernel>
2001-06-28 12:42 ` How to pass packets up to protocols layer ? Andi Kleen
2001-06-28 13:40   ` Alexey Vyskubov [this message]
2001-06-28  9:58 Gautier Harmel

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=20010628164047.A9478@terrapin \
    --to=alexey.vyskubov@nokia.com \
    --cc=Gautier.Harmel@qosmos.net \
    --cc=ak@suse.de \
    --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