CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/03/31 05:18:35
Modified files:
sys/netinet : in_pcb.c raw_ip.c udp_usrreq.c
sys/netinet6 : raw_ip6.c
Log message:
The call to in_pcballoc() in user request attach was handled in
three different ways. Use the same code in udp_usrreq() and
rip_usrreq() and rip6_usrreq(). This also fixes a pcb and socket
leak in udp_usrreq() in case soreserve() fails. Put an splsoftassert()
into in_pcballoc() for safety.
OK mpi@
