diff options
author | Zach Brown <zach.brown@oracle.com> | 2010-07-23 10:36:58 -0700 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 18:16:48 -0700 |
commit | ffcec0e110c198717eb0f6ac000c1e5397db9451 (patch) | |
tree | 3bb8796f26a1e8730d576a099a6f6cc10c9d35d8 /net/rds/tcp_recv.c | |
parent | 5adb5bc65f93e52341c3fc9d03d4030dd375e256 (diff) |
RDS: don't call rds_conn_shutdown() from rds_conn_destroy()
rds_conn_shutdown() can return before the connection is shut down when
it encounters an existing state that it doesn't understand. This lets
rds_conn_destroy() then start tearing down the conn from under paths
that are still using it.
It's more reliable the shutdown work and wait for krdsd to complete the
shutdown callback. This stopped some hangs I was seeing where krdsd was
trying to shut down a freed conn.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Diffstat (limited to 'net/rds/tcp_recv.c')
0 files changed, 0 insertions, 0 deletions