aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-08-17 17:09:53 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-26 16:41:49 -0700
commit2a8b12bde3c85e937f91ab245ac98cf2e658afc3 (patch)
tree7ae6fb995509208b990a92b8d863e8ad63204a9c /net/lapb/lapb_subr.c
parent89400a1849c22933053ae9ceb45da5d6d149560f (diff)
sparc64: Fix rwsem constant bug leading to hangs.
[ Upstream commit ef201bebe5afc91a2b99b45dacc8c6dd88ca9e58 ] As noticed by Linus, it is critical that some of the rwsem constants be signed. Yet, hex constants are unsigned unless explicitly casted or negated. The most critical one is RWSEM_WAITING_BIAS. This bug was exacerbated by commit 424acaaeb3a3932d64a9b4bd59df6cf72c22d8f3 ("rwsem: wake queued readers when writer blocks on active read lock") Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions