]> git.karo-electronics.de Git - mv-sheeva.git/commit
RDS: lock rds_conn_count decrement in rds_conn_destroy()
authorZach Brown <zach.brown@oracle.com>
Fri, 23 Jul 2010 17:30:45 +0000 (10:30 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:16:45 +0000 (18:16 -0700)
commitfe8ff6b58f040dd52d2db45972db8e0301847f1c
treee332f689cfd9838b585f6106ff493672ce1db598
parentea819867b788728aca60717e4fdacb3df771f670
RDS: lock rds_conn_count decrement in rds_conn_destroy()

rds_conn_destroy() can race with all other modifications of the
rds_conn_count but it was modifying the count without locking.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
net/rds/connection.c