[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E9E9163.1090008@cn.fujitsu.com>
Date: Wed, 19 Oct 2011 16:59:15 +0800
From: Gao feng <gaofeng@...fujitsu.com>
To: Steffen Klassert <steffen.klassert@...unet.com>
CC: Eric Dumazet <eric.dumazet@...il.com>, davem@...emloft.net,
kuznet@....inr.ac.ru, jmorris@...ei.org, netdev@...r.kernel.org
Subject: Re: [PATCH] route:ip_rt_frag_needed always return unzero
2011.10.19 16:38, Steffen Klassert wrote:
> On Wed, Oct 19, 2011 at 04:07:46PM +0800, Gao feng wrote:
>> 2011.10.19 15:26, Steffen Klassert wrote:
>>
>>>
>>> It is valid in the sense that we should not provide the user
>>> with a mtu information if we know that the value we got from
>>> the icmp packet ist bogus. But perhaps we can think about
>>> making the check for a valid mtu unconditionally and let
>>> ip_rt_frag_needed return a valid mtu in any case.
>>>
>>>
>>
>> I think we should return the pmtu in icmp packet to the raw socket,
>> and the valid mtu to tcp_v4_err or something else.
>>
>
> Why you want to handle raw sockets different here?
>
Return the pmtu in icmp packet to the raw socket,
let user space program to decide what to do.
BUT this is not important.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists