FreeBSD/src 3e14657 (r307726)sys/netinet tcp_subr.c ip_icmp.c, sys/netinet6 ip6_input.c icmp6.c

Make ICMPv6 hard error handling for TCP consistent with the ICMPv4
handling. Ensure that:
* Protocol unreachable errors are handled by indicating ECONNREFUSED
  to the TCP user for both IPv4 and IPv6. These were ignored for IPv6.
* Communication prohibited errors are handled by indicating ECONNREFUSED
  to the TCP user for both IPv4 and IPv6. These were ignored for IPv6.
* Hop Limited exceeded errors are handled by indicating EHOSTUNREACH
  to the TCP user for both IPv4 and IPv6.
  For IPv6 the TCP connected was dropped but errno wasn't set.

Reviewed by: gallatin, rrs
MFC after: 1 month
Sponsored by: Netflix
Differential Revision: 7904
DeltaFile
+4-3sys/netinet/tcp_subr.c
+2-2sys/netinet6/ip6_input.c
+2-0sys/netinet/ip_icmp.c
+1-1sys/netinet6/icmp6.c
+9-64 files

UnifiedSplitRaw