]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: make rds_conn_drop() take reason argument
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 5 Aug 2016 21:22:53 +0000 (14:22 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 12 Oct 2016 17:20:24 +0000 (10:20 -0700)
commit32b2192c4dfcea2cf18cb58bb431ae1fd37b637c
tree4557a0bb2cf3965624365d1a86133c008137a030
parent45eda55de4c15769d3485c9ddaa784fc2ebe63bd
RDS: make rds_conn_drop() take reason argument

This removes the need of modifying the conn all over the place
and moves it inside rds_conn_drop(). Actually there is almost
no need to carry the 'c_drop_source' information as part of
rds_connection but since shutdown thread wants to log this
info for debug,  the field is left as is for now.

Orabug: 22347191

Tested-by: Michael Nowak <michael.nowak@oracle.com>
Tested-by: Rafael Alejandro Peralez <rafael.peralez@oracle.com>
Tested-by: Liwen Huang <liwen.huang@oracle.com>
Tested-by: Hong Liu <hong.x.liu@oracle.com>
Reviewed-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
13 files changed:
net/rds/af_rds.c
net/rds/connection.c
net/rds/ib.c
net/rds/ib.h
net/rds/ib_cm.c
net/rds/ib_recv.c
net/rds/ib_send.c
net/rds/rdma_transport.c
net/rds/rds.h
net/rds/tcp.c
net/rds/tcp_connect.c
net/rds/tcp_send.c
net/rds/threads.c