Solved

Patch

Posted on 1998-04-22
2
271 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
NTP Server in VMware 5 115
AWS Advice on using WHM/cPanel 1 58
Android Security Model 3 68
linux crontab output 3 38
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
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" …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

16 Experts available now in Live!

Get 1:1 Help Now