rds: Use atomic flag to track connections being destroyed
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Thu, 4 Jan 2018 14:52:59 +0000 (06:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jan 2018 18:39:18 +0000 (13:39 -0500)
commitc90ecbfaf50d2d7db25c531d9169be7e47435f3f
tree51a00b04b5e2ecc649922007def9b8836fb76245
parenteb9aa1bfbad8c9fc280adf43cb480911295cfa3f
rds: Use atomic flag to track connections being destroyed

Replace c_destroy_in_prog by using a bit in cp_flags that
can set/tested atomically.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/connection.c
net/rds/rds.h
net/rds/tcp_connect.c