summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_input.c
diff options
context:
space:
mode:
authorTim Gardner <timg@tpi.com>2011-04-20 11:00:49 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-22 06:04:32 +0200
commitcb771838715b1c470bc5735bdae709b33b18e0ad (patch)
tree9de4b9a992aa2a521bfba73b941310dd8e09ea60 /net/bridge/br_input.c
parentbe2net: increment work_counter in be_worker (diff)
downloadlinux-cb771838715b1c470bc5735bdae709b33b18e0ad.tar.xz
linux-cb771838715b1c470bc5735bdae709b33b18e0ad.zip
atl1c: Fix work event interrupt/task races
The mechanism used to initiate work events from the interrupt handler has a classic read/modify/write race between the interrupt handler that sets the condition, and the worker task that reads and clears the condition. Close these races by using atomic bit fields. Cc: stable@kernel.org Cc: Jie Yang <jie.yang@atheros.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
0 files changed, 0 insertions, 0 deletions