On mer., 2016-02-17 at 13:58 -0800, Wei Wang wrote: > From: Wei Wang <[email protected]> > > 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 <[email protected]>
Acked-by: Eric Dumazet <[email protected]> Thanks Wei.
