Re: 2.4.7 softirq incorrectness.

Date: Thu Jul 26 2001 - 12:46:52 EST


> At that time I checked loopback that runs under the bh so it's ok too.

Well, it was not alone. I just looked at couple of places, when
netif_rx was used. One is right, another (looping multicasts) is wrong. :-)

So, is plain raising softirq and leaving it raised before return
to normal context not a bug? If so, then no problems.
The worst, which can happen is that it will work as earlier, right?
And we are allowed to yuild bhs at any point, when we desire. Nice.

Actually, also I was afraid opposite thing: netif_rx was used to allow
to restart processing of skb, when we were in wrong context or were afraid
recursion. And the situation, when it is called with disabled irqs and/or
raised spinlock_irq (it was valid very recently!), is undetectable.
Actually, I hope such places are absent, networking core does not use
irq protection at all, except for netif_rx() yet. :-)

> after netif_rx.

But why not to do just local_bh_disable(); netif_rx(); local_bh_enable()?
Is this not right?

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 : Tue Jul 31 2001 - 21:00:28 EST