Module Name: src Committed By: martin Date: Mon Jul 15 08:20:57 UTC 2019
Modified Files: src/sys/netinet6 [netbsd-8]: udp6_usrreq.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1288): sys/netinet6/udp6_usrreq.c: revision 1.147 Fix the order in udp6_attach: soreserve should be called before in6_pcballoc, otherwise if it fails there is still a PCB attached, and we hit a KASSERT in socreate. In !DIAGNOSTIC this would have caused a memory leak. By the way I find the splsoftnet highly suspicious, in6_pcballoc already does that. To generate a diff of this commit: cvs rdiff -u -r1.129.4.2 -r1.129.4.3 src/sys/netinet6/udp6_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.