summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorpascoe <pascoe@openbsd.org>2004-12-08 22:35:13 +0000
committerpascoe <pascoe@openbsd.org>2004-12-08 22:35:13 +0000
commitd40c0b23fe247151657049073e30991e031470d7 (patch)
tree30e13329040ab955b489ece4ca96abeaa30719ea /sys/dev/usb/uhub.c
parentget rid of void* pointer arithmetic on buffers so gcc stops complaining (diff)
downloadwireguard-openbsd-d40c0b23fe247151657049073e30991e031470d7.tar.xz
wireguard-openbsd-d40c0b23fe247151657049073e30991e031470d7.zip
Defer reinitialisation of the RU until after the interrupt handler has had
a chance to process all pending packets, otherwise the chip may overwrite their mbuf clusters after we have freed them. Eliminates a race that can cause random pool corruption when reconfiguring an interface under heavy network load. ok brad@ mcbride@ beck@ deraadt@ dlg@
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions