patch-2.4.8 linux/net/sched/cls_u32.c

Next file: linux/net/sched/sch_cbq.c
Previous file: linux/net/sched/cls_route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/net/sched/cls_u32.c linux/net/sched/cls_u32.c
@@ -162,7 +162,7 @@
 		if (!(n->sel.flags&(TC_U32_VAROFFSET|TC_U32_OFFSET|TC_U32_EAT)))
 			goto next_ht;
 
-		if (n->sel.flags&(TC_U32_EAT|TC_U32_VAROFFSET)) {
+		if (n->sel.flags&(TC_U32_OFFSET|TC_U32_VAROFFSET)) {
 			off2 = n->sel.off + 3;
 			if (n->sel.flags&TC_U32_VAROFFSET)
 				off2 += ntohs(n->sel.offmask & *(u16*)(ptr+n->sel.offoff)) >>n->sel.offshift;

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