diff options
author | 2004-12-08 22:35:13 +0000 | |
---|---|---|
committer | 2004-12-08 22:35:13 +0000 | |
commit | d40c0b23fe247151657049073e30991e031470d7 (patch) | |
tree | 30e13329040ab955b489ece4ca96abeaa30719ea /sys/dev/usb/uhub.c | |
parent | get rid of void* pointer arithmetic on buffers so gcc stops complaining (diff) | |
download | wireguard-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