]> git.baikalelectronics.ru Git - kernel.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)
commite6d20d50d76e4426dbba6e922df32d08937a178f
treee332f689cfd9838b585f6106ff493672ce1db598
parentfd6f081932e9a0a2d504d7440eb16b560801b439
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