For some reason, it looks like this patch isn't included in the latest
2.1.xxx kernels, even though I can't see why it shouldn't be. I've
attached the patch against 2.1.105.
Kevin <buhr@stat.wisc.edu>
* * *
--- linux-vanilla/net/ipv4/ip_fragment.c Fri Apr 17 22:30:13 1998
+++ linux-raspberry/net/ipv4/ip_fragment.c Tue Jun 9 19:56:35 1998
@@ -350,7 +350,7 @@
fp = qp->fragments;
count = qp->ihlen;
while(fp) {
- if (fp->len < 0 || count+fp->len > skb->len) {
+ if (fp->len < 0 || fp->offset+qp->ihlen+fp->len > skb->len) {
NETDEBUG(printk(KERN_ERR "Invalid fragment list: "
"Fragment over size.\n"));
ip_free(qp);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu