diff options
author | 2008-07-03 15:18:51 +0100 | |
---|---|---|
committer | 2008-07-04 08:10:41 -0400 | |
commit | 2f69ae01c83a94af5dc3c20e8135b974687ed004 (patch) | |
tree | fba9563322f4f0932b0222f4b026cb96485dc0c5 /include/linux/kernel.h | |
parent | ehea: add MODULE_DEVICE_TABLE (diff) | |
download | wireguard-linux-2f69ae01c83a94af5dc3c20e8135b974687ed004.tar.xz wireguard-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 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions