[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1455782280.648.4.camel@edumazet-ThinkPad-T530>
Date: Thu, 18 Feb 2016 08:58:00 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Wei Wang <tracywwnj@...il.com>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Wei Wang <weiwan@...gle.com>
Subject: Re: [PATCH net-next] ipv6: pass up EMSGSIZE msg for UDP socket in
Ipv6
On mer., 2016-02-17 at 13:58 -0800, Wei Wang wrote:
> From: Wei Wang <weiwan@...gle.com>
>
> In ipv4, when the machine receives a ICMP_FRAG_NEEDED message, the
> connected UDP socket will get EMSGSIZE message on its next read from the
> socket.
> However, this is not the case for ipv6.
> This fix modifies the udp err handler in Ipv6 for ICMP6_PKT_TOOBIG to
> make it similar to ipv4 behavior. That is when the machine gets an
> ICMP6_PKT_TOOBIG message, the connected UDP socket will get EMSGSIZE
> message on its next read from the socket.
>
> Signed-off-by: Wei Wang <weiwan@...gle.com>
Acked-by: Eric Dumazet <edumazet@...gle.com>
Thanks Wei.
Powered by blists - more mailing lists