summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-skbuff.c
diff options
context:
space:
mode:
authorPeter Hurley2013-03-05 07:09:06 +0100
committerDavid S. Miller2013-03-06 08:47:04 +0100
commit0b176ce3a7cbfa92eceddf3896f1a504877d974a (patch)
treefe3b0e5154f51ba4a8a87dc6bd4dbd00e47270b6 /net/rxrpc/ar-skbuff.c
parentnet/irda: Hold port lock while bumping blocked_open (diff)
downloadkernel-qcow2-linux-0b176ce3a7cbfa92eceddf3896f1a504877d974a.tar.gz
kernel-qcow2-linux-0b176ce3a7cbfa92eceddf3896f1a504877d974a.tar.xz
kernel-qcow2-linux-0b176ce3a7cbfa92eceddf3896f1a504877d974a.zip
net/irda: Use barrier to set task state
Without a memory and compiler barrier, the task state change can migrate relative to the condition testing in a blocking loop. However, the task state change must be visible across all cpus prior to testing those conditions. Failing to do this can result in the familiar 'lost wakeup' and this task will hang until killed. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/ar-skbuff.c')
0 files changed, 0 insertions, 0 deletions