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
- Lines: 9
- Date:
Fri Aug 18 10:26:25 2000
- Orig file:
v2.4.0-test6/linux/net/sched/sch_red.c
- Orig date:
Mon Jul 10 16:47:28 2000
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)