CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2013/05/31 07:15:53
Modified files:
sys/netinet : in_pcb.c in_pcb.h tcp_subr.c udp_usrreq.c
sys/netinet6 : in6_pcb.c raw_ip6.c
Log message:
The function rip6_ctlinput() claims that sa6_src is constant to
allow the assingment of &sa6_any. But rip6_ctlinput() could not
guarantee that as it casted away the const attribute when it passes
the pointer to in6_pcbnotify(). Replace sockaddr with const
sockaddr_in6 in the in6_pcbnotify() parameters. This reduces the
number of casts. Also adjust in6_pcbhashlookup() to handle the
const attribute correctly.
Input and OK claudio@