mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 15:11:06 +02:00
add a workaround for a race-condition in the wl driver (triggered by ap+sta mode in a bridge)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5635 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e29da0f423
commit
ed1b2eb613
14
target/linux/brcm-2.4/patches/011-wl_qdisc_war.patch
Normal file
14
target/linux/brcm-2.4/patches/011-wl_qdisc_war.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- linux.old/net/sched/sch_generic.c 2006-11-24 02:42:23.000000000 +0100
|
||||
+++ linux.dev/net/sched/sch_generic.c 2006-11-24 02:36:58.000000000 +0100
|
||||
@@ -84,6 +84,11 @@
|
||||
struct sk_buff *skb;
|
||||
|
||||
/* Dequeue packet */
|
||||
+ if (!q) {
|
||||
+ if (net_ratelimit())
|
||||
+ printk(KERN_DEBUG "HELP ME! qdisc_restart called, but no Qdisc!\n");
|
||||
+ return 0;
|
||||
+ }
|
||||
if ((skb = q->dequeue(q)) != NULL) {
|
||||
if (spin_trylock(&dev->xmit_lock)) {
|
||||
/* Remember that the driver is grabbed by us. */
|
Loading…
x
Reference in New Issue
Block a user