summaryrefslogtreecommitdiffstats
path: root/drivers/net/eql.c
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-10-13 13:29:24 +0200
committerDavid S. Miller <davem@davemloft.net>2011-10-19 09:25:41 +0200
commit73033c987a8bd0b080509063bb7c130b8941ad73 (patch)
tree3fc3b0f7160c9f9659eed18721b6770468def367 /drivers/net/eql.c
parentcaif-hsi: Fixing a race condition in the caif_hsi code (diff)
downloadlinux-73033c987a8bd0b080509063bb7c130b8941ad73.tar.xz
linux-73033c987a8bd0b080509063bb7c130b8941ad73.zip
caif-hsi: Fix for wakeup condition problem
Under stressed conditions a race could happen when del_timer_sync() was called from softirq context at the same time when mod_timer_pending() for the same timer was called from the workqueue. This leaded to a state mismatch in the CAIF HSI driver and following unexpected link wakeup procedure. The fix puts del_timer_sync() and mod_timer_pending() calls under a spin lock to protect against the race condition. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/eql.c')
0 files changed, 0 insertions, 0 deletions