netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Patrick McHardy <kaber@trash.net>
Cc: "David S. Miller" <davem@davemloft.net>,
	David Brownell <david-b@pacbell.net>,
	jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org,
	david+challenge-response@blue-labs.org,
	linux-kernel@vger.kernel.org, netdev@oss.sgi.com,
	ahaas@airmail.net
Subject: Re: 2.6.11-rc2 TCP ignores PMTU ICMP (Re: Linux 2.6.11-rc2)
Date: Mon, 31 Jan 2005 17:13:36 -0500	[thread overview]
Message-ID: <41FEAD90.6060403@tmr.com> (raw)
In-Reply-To: <41F99656.5040304@trash.net>

Patrick McHardy wrote:
> David S. Miller wrote:
> 
>> I've forwarded this to netfilter-devel for inspection.
>> Thanks for collecting all the data points so well.
>>
> Here is the fix for everyone. Please report back if it doesn't
> solve the problem. Thanks.

Worked here.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ===== net/ipv4/netfilter/ip_nat_proto_tcp.c 1.10 vs edited =====
> --- 1.10/net/ipv4/netfilter/ip_nat_proto_tcp.c	2005-01-17 23:00:55 +01:00
> +++ edited/net/ipv4/netfilter/ip_nat_proto_tcp.c	2005-01-28 02:13:06 +01:00
> @@ -105,7 +105,7 @@
>  		return 0;
>  
>  	iph = (struct iphdr *)((*pskb)->data + iphdroff);
> -	hdr = (struct tcphdr *)((*pskb)->data + iph->ihl*4);
> +	hdr = (struct tcphdr *)((*pskb)->data + hdroff);
>  
>  	if (maniptype == IP_NAT_MANIP_SRC) {
>  		/* Get rid of src ip and src pt */


-- 
    -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

      parent reply	other threads:[~2005-01-31 22:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200501232251.42394.david-b@pacbell.net>
     [not found] ` <41F6916F.7060000@blue-labs.org>
     [not found]   ` <200501251054.37053.david-b@pacbell.net>
2005-01-27  9:02     ` 2.6.11-rc2 TCP ignores PMTU ICMP (Re: Linux 2.6.11-rc2) Janos Farkas
2005-01-27 19:28       ` David Brownell
2005-01-27 20:00         ` Janos Farkas
2005-01-27 23:11         ` David Brownell
2005-01-27 23:41           ` David S. Miller
2005-01-28  1:33             ` Patrick McHardy
2005-01-28  3:00               ` Rusty Russell
2005-01-28 14:04               ` Art Haas
2005-01-31 22:13               ` Bill Davidsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41FEAD90.6060403@tmr.com \
    --to=davidsen@tmr.com \
    --cc=ahaas@airmail.net \
    --cc=davem@davemloft.net \
    --cc=david+challenge-response@blue-labs.org \
    --cc=david-b@pacbell.net \
    --cc=jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org \
    --cc=kaber@trash.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).