CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/01/27 14:13:46
Modified files:
sys/netinet : tcp_input.c tcp_subr.c tcp_var.h
sys/netinet6 : in6.h
Log message:
Declare address parameter in TCP SYN cache const.
tcp6_ctlinput() casted a constant sockaddr_sin6 to non-const sockaddr.
sa6_src may be &sa6_any which lives in read-only data section.
Better pass down the const addresses to syn_cache_lookup(). They
are needed for hash lookup and are not modified.
OK mvs@
