diff options
author | Wei Wang <weiwan@google.com> | 2016-02-17 22:58:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-19 21:46:24 +0100 |
commit | e0d8c1b7381133240f0c69eaf740f64975b6058e (patch) | |
tree | e4db7477d4deaf5a5b922ddeb89f6327fe7d8483 /drivers/net/hyperv | |
parent | be2net: Fix pcie error recovery in case of NIC+RoCE adapters (diff) | |
download | linux-e0d8c1b7381133240f0c69eaf740f64975b6058e.tar.xz linux-e0d8c1b7381133240f0c69eaf740f64975b6058e.zip |
ipv6: pass up EMSGSIZE msg for UDP socket in Ipv6
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@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
0 files changed, 0 insertions, 0 deletions