summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2013-03-31 11:18:35 +0000
committerbluhm <bluhm@openbsd.org>2013-03-31 11:18:35 +0000
commitae39fdefb07f899fb0eca4b9a5449774dc9da4f8 (patch)
treeeada1234f7c138eee3724394df14e9c639c0aab0 /sys/dev/softraid.c
parentProvide default resource allocation and free functions. Convert all (diff)
downloadwireguard-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