diff options
author | 2013-03-31 11:18:35 +0000 | |
---|---|---|
committer | 2013-03-31 11:18:35 +0000 | |
commit | ae39fdefb07f899fb0eca4b9a5449774dc9da4f8 (patch) | |
tree | eada1234f7c138eee3724394df14e9c639c0aab0 /sys/dev/softraid.c | |
parent | Provide default resource allocation and free functions. Convert all (diff) | |
download | wireguard-openbsd-ae39fdefb07f899fb0eca4b9a5449774dc9da4f8.tar.xz wireguard-openbsd-ae39fdefb07f899fb0eca4b9a5449774dc9da4f8.zip |
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@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions