Re: [PATCH 1/3] [NET] Do pmtu check in transport layer

2007-04-09 Thread Patrick McHardy
John Heffner wrote: Check the pmtu check at the transport layer (for UDP, ICMP and raw), and send a local error if socket is PMTUDISC_DO and packet is too big. This is actually a pure bugfix for ipv6. For ipv4, it allows us to do pmtu checks in the same way as for ipv6. diff --git

Re: [PATCH 1/3] [NET] Do pmtu check in transport layer

2007-04-09 Thread John Heffner
Patrick McHardy wrote: John Heffner wrote: Check the pmtu check at the transport layer (for UDP, ICMP and raw), and send a local error if socket is PMTUDISC_DO and packet is too big. This is actually a pure bugfix for ipv6. For ipv4, it allows us to do pmtu checks in the same way as for ipv6.

Re: [PATCH 1/3] [NET] Do pmtu check in transport layer

2007-04-09 Thread Patrick McHardy
John Heffner wrote: Patrick McHardy wrote: This makes ping report an incorrect MTU when IPsec is used since we're only accounting for the additional header_len, not the trailer_len (which is not easily changeable). Additionally it will report different MTUs for the first and following

Re: [PATCH 1/3] [NET] Do pmtu check in transport layer

2007-03-24 Thread David Miller
From: John Heffner [EMAIL PROTECTED] Date: Fri, 23 Mar 2007 20:06:44 -0400 Check the pmtu check at the transport layer (for UDP, ICMP and raw), and send a local error if socket is PMTUDISC_DO and packet is too big. This is actually a pure bugfix for ipv6. For ipv4, it allows us to do pmtu

[PATCH 1/3] [NET] Do pmtu check in transport layer

2007-03-23 Thread John Heffner
Check the pmtu check at the transport layer (for UDP, ICMP and raw), and send a local error if socket is PMTUDISC_DO and packet is too big. This is actually a pure bugfix for ipv6. For ipv4, it allows us to do pmtu checks in the same way as for ipv6. Signed-off-by: John Heffner [EMAIL