]> 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)
commitd045a7cd15e27b62dbe9d25a38deb0903b7e003e
treecff5b3519cd10e640cd125b27291e2a8f703eaf4
parent48f090f2d8b9fa3f5b1e96dfee3acab0697a2b37
icmp6: support rfc 4884

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