Re: How to pass packets up to protocols layer ?

Alexey Vyskubov (alexey.vyskubov@nokia.com)
Thu, 28 Jun 2001 16:40:47 +0300


> 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
-
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/