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