Link to home
Start Free TrialLog in
Avatar of hulken
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->len > skb->len)
                {
                        NETDEBUG(printk("Invalid fragment list: Fragment over size.\n"));
                        ip_free(qp);

ASKER CERTIFIED SOLUTION
Avatar of jaked
jaked

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hulken
hulken

ASKER

Thanks!

I tried a patch -p0 < patchfile from the /usr/src directory as I use to do.!