NetBSD/src i4yc1MX — sys/netinet6 udp6_usrreq.c
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.
Version | Delta | File | |
---|---|---|---|
1.129.4.3 | +8 | -6 | sys/netinet6/udp6_usrreq.c |
+8 | -6 | 1 files |