summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2007-05-04 01:52:51 +0000
committerreyk <reyk@openbsd.org>2007-05-04 01:52:51 +0000
commitee88a45f175484edbfc4f3d75957d3307aa3c985 (patch)
tree61b9877cc70d19e695db69e703c32bfae33fd023 /sys/kern/subr_disk.c
parentsync (diff)
downloadwireguard-openbsd-ee88a45f175484edbfc4f3d75957d3307aa3c985.tar.xz
wireguard-openbsd-ee88a45f175484edbfc4f3d75957d3307aa3c985.zip
do not call vic_init() on ENETRESET in the ioctl handler, use
vic_iff() instead. vic_init() calls vic_init_data() which sets up the rings and allocates the dma maps. it could happen that vic_init() was called for multiple times without releasing them first by calling vic_uninit_data(). ouch! this may have caused some problems related to dmamap corruption but we'll do further investigation. ok dlg@
Diffstat (limited to 'sys/kern/subr_disk.c')
0 files changed, 0 insertions, 0 deletions