]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14ed4a42833c62e3138d1882134f17823c28a579
treecff5b3519cd10e640cd125b27291e2a8f703eaf4
parentfcf6f0618d5761c43718a7c7795c79e6f2884e12
icmp6: support rfc 4884

Extend the rfc 4884 read interface introduced for ipv4 in
commit b8ff8bc4818c ("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