(3/6) bcm57xx: preinit
[openwrt.git] / target / linux / brcm-2.4 / patches / 011-wl_qdisc_war.patch
1 Index: linux-2.4.35.4/net/sched/sch_generic.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/net/sched/sch_generic.c
4 +++ linux-2.4.35.4/net/sched/sch_generic.c
5 @@ -84,6 +84,11 @@ int qdisc_restart(struct net_device *dev
6 struct sk_buff *skb;
7
8 /* Dequeue packet */
9 + if (!q) {
10 + if (net_ratelimit())
11 + printk(KERN_DEBUG "HELP ME! qdisc_restart called, but no Qdisc!\n");
12 + return 0;
13 + }
14 if ((skb = q->dequeue(q)) != NULL) {
15 if (spin_trylock(&dev->xmit_lock)) {
16 /* Remember that the driver is grabbed by us. */
This page took 0.045633 seconds and 5 git commands to generate.