sync with OpenBSD -current
This commit is contained in:
parent
8b84d503c1
commit
ed26f93d8c
33 changed files with 305 additions and 301 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: in6_pcb.c,v 1.125 2023/11/28 13:23:20 bluhm Exp $ */
|
||||
/* $OpenBSD: in6_pcb.c,v 1.126 2023/11/29 18:30:48 bluhm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
|
@ -512,14 +512,12 @@ in6_pcbnotify(struct inpcbtable *table, struct sockaddr_in6 *dst,
|
|||
* as usual.
|
||||
*/
|
||||
if (lport == 0 && fport == 0 && flowinfo &&
|
||||
inp->inp_socket != NULL &&
|
||||
flowinfo == (inp->inp_flowinfo & IPV6_FLOWLABEL_MASK) &&
|
||||
IN6_ARE_ADDR_EQUAL(&inp->inp_laddr6, &sa6_src.sin6_addr))
|
||||
goto do_notify;
|
||||
else if (!IN6_ARE_ADDR_EQUAL(&inp->inp_faddr6,
|
||||
&dst->sin6_addr) ||
|
||||
rtable_l2(inp->inp_rtableid) != rdomain ||
|
||||
inp->inp_socket == NULL ||
|
||||
(lport && inp->inp_lport != lport) ||
|
||||
(!IN6_IS_ADDR_UNSPECIFIED(&sa6_src.sin6_addr) &&
|
||||
!IN6_ARE_ADDR_EQUAL(&inp->inp_laddr6,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue