patch-2.3.18 linux/net/sched/sch_atm.c

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/irda/irda_device.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/net/sched/sch_atm.c linux/net/sched/sch_atm.c
@@ -375,7 +375,7 @@
 	result = TC_POLICE_OK; /* be nice to gcc */
 	if (TC_H_MAJ(skb->priority) != sch->handle ||
 	    !(flow = (struct atm_flow_data *) atm_tc_get(sch,skb->priority)))
-		for (flow = p->link.next; flow; flow = flow->next)
+		for (flow = p->flows; flow; flow = flow->next)
 			if (flow->filter_list) {
 				result = tc_classify(skb,flow->filter_list,
 				    &res);

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