Subject: Re: [RFC,PATCH] loopback: calls netif_receive_skb() instead of netif_rx()

From: Eric Dumazet <[email-masked]>
Date: Mon, 31 Mar 2008 08:38:22 +0200

David Miller a écrit :
> From: Eric Dumazet <[email-masked]>
> Date: Sat, 29 Mar 2008 09:18:03 +0100
> 
>> BTW, can loopback_xmit() be called on an interrupt stack ?
> 
> Absolutely, softirq processes TCP data, ACK goes out in
> softirq context.

yes, ICMP messages (if any are sent) too.

> 
> Softirqs run on interrupt stacks just as hardirqs do.
> 

Well, it depends.

Not on x86_32 with 8K stacks, and some other arches.
do_softirq() can use the underlying stack too.

Thank you