commit | 2f69ae01c83a94af5dc3c20e8135b974687ed004 | [log] [tgz] |
---|---|---|
author | Jan-Bernd Themann <ossthema@de.ibm.com> | Thu Jul 03 15:18:51 2008 +0100 |
committer | Jeff Garzik <jgarzik@redhat.com> | Fri Jul 04 08:10:41 2008 -0400 |
tree | fba9563322f4f0932b0222f4b026cb96485dc0c5 | |
parent | b0afffe89be619f42ae4215554ed66e67de7bb0e [diff] |
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>