]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: tcp: allow progress of rds_conn_shutdown if the rds_connection is marked ERROR...
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 31 May 2017 19:08:34 +0000 (12:08 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 10 Jun 2017 00:48:05 +0000 (17:48 -0700)
commit25636838019db7e8eb2ac505125e2741911be070
treede723ee4956bef9a69aa624450f1295ac05a7c70
parent041dc3e4d34087d5abe6e8aecfe52531e29c0c51
rds: tcp: allow progress of rds_conn_shutdown if the rds_connection is marked ERROR by an intervening FIN

rds_conn_shutdown() runs in workq context, and marks the rds_connection
as DISCONNECTING before quiescing Tx/Rx paths. However, after all I/O
has quiesced, we may still find the rds_connection state to be
RDS_CONN_ERROR if an intervening FIN was processed in softirq context.

This is not a fatal error: rds_conn_shutdown() should continue the
shutdown, and there is no need to log noisy messages about this event.

Orabug: 26241322

(Cherry-pick of upstream e97656d03ca0cea888a0b9d382abce8233771f31)

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