hulken
asked on
Patch
I found a patch at:
http://www.linuxhq.com/patch/20-p0827.html
But I don't know how to use it.
Hhe patch looks like this:
--- ip_fragment.c.old Thu Apr 16 12:25:34 1998
+++ ip_fragment.c Thu Apr 16 12:29:02 1998
@@ -375,7 +375,7 @@
fp = qp->fragments;
while(fp != NULL)
{
- if (fp->len < 0 || count+fp->len > skb->len)
+ if (fp->len < 0 || fp->offset+qp->ihlen+fp->l en > skb->len)
{
NETDEBUG(printk("Invalid fragment list: Fragment over size.\n"));
ip_free(qp);
http://www.linuxhq.com/patch/20-p0827.html
But I don't know how to use it.
Hhe patch looks like this:
--- ip_fragment.c.old Thu Apr 16 12:25:34 1998
+++ ip_fragment.c Thu Apr 16 12:29:02 1998
@@ -375,7 +375,7 @@
fp = qp->fragments;
while(fp != NULL)
{
- if (fp->len < 0 || count+fp->len > skb->len)
+ if (fp->len < 0 || fp->offset+qp->ihlen+fp->l
{
NETDEBUG(printk("Invalid fragment list: Fragment over size.\n"));
ip_free(qp);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried a patch -p0 < patchfile from the /usr/src directory as I use to do.!