diff options
author | np <np@FreeBSD.org> | 2011-04-15 03:09:27 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2011-04-15 03:09:27 +0000 |
commit | af946d9d58006aa5791d998bb8ec7457d09433f3 (patch) | |
tree | e5928595e5f238318e212777cfa2e2e427e68da8 /tools/regression/tmpfs/h_tools.c | |
parent | 42cdb57de6abf64c210a8803e255316b862633a8 (diff) | |
download | FreeBSD-src-af946d9d58006aa5791d998bb8ec7457d09433f3.zip FreeBSD-src-af946d9d58006aa5791d998bb8ec7457d09433f3.tar.gz |
Fix a couple of bad races that can occur when a cxgbe interface is taken
down. The ingress queue lock was unused and has been removed as part of
these changes.
- An in-flight egress update from the SGE must be handled before the
queue that requested it is destroyed. Wait for the update to arrive.
- Interrupt handlers must stop processing rx events for a queue before
the queue is destroyed. Events that have not yet been processed
should be ignored once the queue disappears.
MFC after: 1 week
Diffstat (limited to 'tools/regression/tmpfs/h_tools.c')
0 files changed, 0 insertions, 0 deletions