Good point. More importantly, it's actually buggy. When doing a
"cli()" in a bottom half context, the cli() won't actually be global,
just local (nasty deadlock reasons), and as such it doesn't really
protect the backup queue anyway.
Fixed by removing the cli/sti and using skb_dequeue() in net/core/dev.c.
It's faster on SMP (no discernible difference on UP), but more
importantly avoids the bug.
Good spotting.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html