icmp6: support rfc 4884
authorWillem de Bruijn <willemb@google.com>
Fri, 24 Jul 2020 13:03:10 +0000 (09:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jul 2020 00:12:41 +0000 (17:12 -0700)
commit01370434df85eb76ecb1527a4466013c4aca2436
treecff5b3519cd10e640cd125b27291e2a8f703eaf4
parent178c49d9f9a4b5ade00c93480d714708fe971e24
icmp6: support rfc 4884

Extend the rfc 4884 read interface introduced for ipv4 in
commit eba75c587e81 ("icmp: support rfc 4884") to ipv6.

Add socket option SOL_IPV6/IPV6_RECVERR_RFC4884.

Changes v1->v2:
  - make ipv6_icmp_error_rfc4884 static (file scope)

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h
include/uapi/linux/icmpv6.h
include/uapi/linux/in6.h
net/ipv4/icmp.c
net/ipv6/datagram.c
net/ipv6/ipv6_sockglue.c