2.1.91 now uses a spinlock for protecting skb queue operations.
I noticed that there are some pieces of code that do somethink like
save_flags(flags);
cli();
:
skb = skb_peek(&queue);
:
do_something(skb);
:
restore_flags(flags);
According to Documenttaion/spinlocks.txt, the cli() now no longer protects
against simultanous skb list manipulations (which are serialized by spinlocks).
Im I right?
Henner
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu