Solved

Patch

Posted on 1998-04-22
2
276 Views
Last Modified: 2010-04-22
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);

0
Comment
Question by:hulken
2 Comments
 
LVL 2

Accepted Solution

by:
jaked earned 30 total points
ID: 1626602
What you want to do is go to the directory where the changed file is (on my machine it's in /usr/src/linux/net/ipv4), and run

patch < [patchfile]

where [patchfile] is the name of the file that you've saved the patch in (2.0.33-fragment.diff if you pressed the download button on linuxhq). Make sure that you're running a 2.0.33 kernel or the patch might not apply, or might not work if it does apply.

Once you've done this rebuild and install your kernel (this is described in /usr/src/linux/README).

0
 

Author Comment

by:hulken
ID: 1626603
Thanks!

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

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 64
Linux Mint 18 31 73
LINUX CENTOS + APACHE 9 60
Can't See Site After DNS Resolved 7 46
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now