Re: tun: Use netif_receive_skb instead of netif_rx

Herbert Xu
2010-05-19T08:44:34Z

On Wed, May 19, 2010 at 10:27:17AM +0200, Eric Dumazet wrote:
>
> This is a bit wrong, at least here (CONFIG_4KSTACKS=y)
>
> Some people still use 32bits these days ;)
>
> Please check arch/x86/kernel/irq_32.c

Right, I was looking at the generic version.

Still, as I'm only changing tun.c where we know the call comes
from a syscall, I don't think the stack is a great issue.

Besides, for TX we already perform everything from the same stack
depth and the TX path isn't that much shallower compared to the
RX path.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt