NetBSD/sys/netinet6
roy ca7497cb84 inet6: Re-introduce ND6_LLINFO_WAITDELETE so we can return EHOSTDOWN
Once we've sent nd6_mmaxtries NS messages, send RTM_MISS and move to the
ND6_LLINFO_WAITDELETE state rather than freeing the llentry right away.
Wait for a probe cycle and then free the llentry.

If a connection attempts to re-use the llentry during ND6_LLINFO_WAITDELETE,
return EHOSTDOWN (or EHOSTUNREACH if a gateway) to match inet behaviour.
Continue to ND6_LLINFO_INCOMPLETE and send another NS probe in hope of a
reply. Rinse and repeat.

This reverts part of nd6.c r1.14 - an 18 year old commit!
2019-09-01 19:26:21 +00:00
..
dccp6_usrreq.c Make it compile after change to non-variadic pr_input. 2018-09-15 13:33:15 +00:00
dccp6_var.h
dest6.c style 2018-04-13 11:01:14 +00:00
files.netinet6 Move udp6_output() into udp6_usrreq.c, and remove udp6_output.c. This is 2018-02-08 11:34:35 +00:00
frag6.c When reassembling IPv4/IPv6 packets, ensure each fragment has been subject 2018-05-15 19:16:38 +00:00
icmp6_private.h
icmp6.c Replace: M_COPY_PKTHDR -> m_copy_pkthdr. No functional change, since the 2018-12-22 14:07:53 +00:00
in6_cksum.c
in6_gif.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
in6_gif.h preserve gif(4) configs by psref(9) like vlan(4) and l2tp(4). 2017-11-27 05:02:22 +00:00
in6_ifattach.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
in6_ifattach.h
in6_l2tp.c fix: l2tp(4) cannot receive packets after reset session without reset tunnel. Pointed out by k-goda@IIJ 2018-09-03 02:33:30 +00:00
in6_l2tp.h
in6_offload.c PR kern/53562 2018-12-12 01:40:20 +00:00
in6_offload.h add forward decl 2019-08-05 10:25:41 +00:00
in6_pcb.c Get rid of IFNET_LOCK for if_mcast_op to avoid a deadlock 2019-05-15 02:59:18 +00:00
in6_pcb.h Support IPv6 NAT-T. Implemented by hsuenaga@IIJ and ohishi@IIJ. 2018-11-22 04:48:34 +00:00
in6_print.c
in6_proto.c Retire EtherIP, we have L2TP instead. 2018-08-14 14:49:13 +00:00
in6_src.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
in6_var.h Make a deletion of in6m in nd6_rtrequest atomic 2018-05-29 04:38:29 +00:00
in6.c rtsock: Route address message simplification 2019-04-29 11:57:22 +00:00
in6.h Decorate struct in6_addr with the __packed attribute 2019-05-28 03:56:46 +00:00
ip6_flow.c Shorten the name of a workqueue instance to fit to the limit (15) 2018-02-06 03:37:00 +00:00
ip6_forward.c Count packets dropped by pfil 2019-05-13 07:47:59 +00:00
ip6_id.c
ip6_input.c Count packets dropped by pfil 2019-05-13 07:47:59 +00:00
ip6_mroute.c Fix typo in comment (s/alreay/already/). 2019-07-24 02:38:29 +00:00
ip6_mroute.h Remove notyet, we've never had this. 2018-05-20 06:29:43 +00:00
ip6_output.c Get rid of IFNET_LOCK for if_mcast_op to avoid a deadlock 2019-05-15 02:59:18 +00:00
ip6_private.h
ip6_var.h Count packets dropped by pfil 2019-05-13 07:47:59 +00:00
ip6protosw.h Fix typos in comment: 2019-03-19 13:38:53 +00:00
Makefile Remove netinet6/ipsec.h. 2018-09-06 19:07:13 +00:00
mld6_var.h
mld6.c Replace M_ALIGN and MH_ALIGN by m_align. 2018-12-22 14:28:56 +00:00
nd6_nbr.c inet6: Send RTM_MISS when we fail to resolve an address. 2019-09-01 18:54:38 +00:00
nd6_rtr.c rtsock: Route address message simplification 2019-04-29 11:57:22 +00:00
nd6.c inet6: Re-introduce ND6_LLINFO_WAITDELETE so we can return EHOSTDOWN 2019-09-01 19:26:21 +00:00
nd6.h inet6: Re-introduce ND6_LLINFO_WAITDELETE so we can return EHOSTDOWN 2019-09-01 19:26:21 +00:00
pim6_var.h - Cleanup for dynamic sysctl: 2018-08-22 01:05:21 +00:00
pim6.h
raw_ip6.c RIP6, CAN, SCTP and SCTP6 lack a length check in their _send() functions. 2019-02-25 06:49:44 +00:00
raw_ip6.h - Cleanup for dynamic sysctl: 2018-08-22 01:05:21 +00:00
route6.c Remove this code, RH0 must be dropped, according to RFC5095. FreeBSD and 2018-02-01 16:23:28 +00:00
scope6_var.h
scope6.c Remove now unused net_osdep.h includes, the other BSDs did the same. 2018-05-01 07:21:39 +00:00
sctp6_usrreq.c Split out the prototypes for add/delete address into a separate header file. 2019-06-25 15:33:55 +00:00
sctp6_var.h
udp6_private.h
udp6_usrreq.c Fix the order in udp6_attach: soreserve should be called before 2019-02-25 07:31:32 +00:00
udp6_var.h Support IPv6 NAT-T. Implemented by hsuenaga@IIJ and ohishi@IIJ. 2018-11-22 04:48:34 +00:00
udp6.h