diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-05-18 19:06:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-21 01:19:57 +0200 |
commit | 37e14f4fe2991f6089a9c8a3830e3ab634ec7190 (patch) | |
tree | ae8fd4ac36094170b29eb6dc73027773b23c60ba /net/rds/ib_rdma.c | |
parent | net: sock: move ->sk_shutdown out of bitfields. (diff) | |
download | linux-37e14f4fe2991f6089a9c8a3830e3ab634ec7190.tar.xz linux-37e14f4fe2991f6089a9c8a3830e3ab634ec7190.zip |
RDS: TCP: rds_tcp_accept_worker() must exit gracefully when terminating rds-tcp
There are two instances where we want to terminate RDS-TCP: when
exiting the netns or during module unload. In either case, the
termination sequence is to stop the listen socket, mark the
rtn->rds_tcp_listen_sock as null, and flush any accept workqs.
Thus any workqs that get flushed at this point will encounter a
null rds_tcp_listen_sock, and must exit gracefully to allow
the RDS-TCP termination to complete successfully.
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>
Diffstat (limited to 'net/rds/ib_rdma.c')
0 files changed, 0 insertions, 0 deletions