patch-2.4.0-test7 linux/net/sched/sch_red.c

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

diff -u --recursive --new-file v2.4.0-test6/linux/net/sched/sch_red.c linux/net/sched/sch_red.c
@@ -160,7 +160,7 @@
 
 static int red_ecn_mark(struct sk_buff *skb)
 {
-	if (skb->nh.raw + 20 < skb->tail)
+	if (skb->nh.raw + 20 > skb->tail)
 		return 0;
 
 	switch (skb->protocol) {

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