commit | d725fdc8027a4cd961f58d92917fbb91b171abfa | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Fri Aug 10 15:21:17 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Mon Aug 13 22:52:09 2007 -0700 |
tree | 5e437314aa2f2c6e59705c4deb45e50959317099 | |
parent | b5890d8ba47741425fe3c0d753e1b57bc0561b7b [diff] |
[DCCP]: fix theoretical ccids_{read,write}_lock() race Make sure that spin_unlock_wait() is properly ordered wrt atomic_inc(). (akpm: can't we convert this code to use rwlocks?) Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>