Solved

Patch

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 87
High Available Storage based on linux 6 84
Linux/Apache File Ownership/Permissions 1 64
VMware Workstation 12 Player 16 74
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

773 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