diff options
author | Jan-Bernd Themann <ossthema@de.ibm.com> | 2008-07-03 16:18:51 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-04 14:10:41 +0200 |
commit | 2f69ae01c83a94af5dc3c20e8135b974687ed004 (patch) | |
tree | fba9563322f4f0932b0222f4b026cb96485dc0c5 /drivers/atm | |
parent | ehea: add MODULE_DEVICE_TABLE (diff) | |
download | linux-2f69ae01c83a94af5dc3c20e8135b974687ed004.tar.xz linux-2f69ae01c83a94af5dc3c20e8135b974687ed004.zip |
ehea: fix race condition
When ehea_stop is called the function
cancel_work_sync(&port->reset_task) is used to ensure
that the reset task is not running anymore. We need an
additional flag to ensure that it can not be scheduled
after this call again for a certain time.
Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions