diff options
author | iedowse <iedowse@FreeBSD.org> | 2006-06-04 14:42:38 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2006-06-04 14:42:38 +0000 |
commit | 2e98c25f190be3790c618acb8ef0ed50d2fdf086 (patch) | |
tree | fbd8739c5c392b8c843497396f9444a4626f88e9 /sys/dev/safe/safe.c | |
parent | 7fa49327cd97a9a2f0a24df817866a7df0167575 (diff) | |
download | FreeBSD-src-2e98c25f190be3790c618acb8ef0ed50d2fdf086.zip FreeBSD-src-2e98c25f190be3790c618acb8ef0ed50d2fdf086.tar.gz |
Add a sleep lock that protects access to sequences of blocking
axe_cmd() calls. Without this the device can get confused if multiple
threads attempt these operations concurrently. The problem was
easily reproducible by running "ifconfig axe0" in a loop because
eventually it would conflict with axe_tick_task().
A similar approach is probably required in all USB ethernet drivers.
Diffstat (limited to 'sys/dev/safe/safe.c')
0 files changed, 0 insertions, 0 deletions