Re: How to pass packets up to protocols layer ?

From: Alexey Vyskubov (
Date: Thu Jun 28 2001 - 08:40:47 EST

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:19 EST