patch-2.2.13 linux/net/sched/sch_generic.c

Next file: linux/net/sunrpc/svc.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.12/linux/net/sched/sch_generic.c linux/net/sched/sch_generic.c
@@ -419,6 +419,7 @@
 		for (hp = &qdisc_head.forw; (h = *hp) != &qdisc_head; hp = &h->forw) {
 			if (h == &qdisc->h) {
 				*hp = h->forw;
+				h->forw = NULL;
 				break;
 			}
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)