From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, rds-devel@oss.oracle.com,
ajaykumar.hotchandani@oracle.com, santosh.shilimkar@oracle.com,
sowmini.varadhan@oracle.com
Subject: [PATCH net 0/3] RDS: TCP: socket locking RDS packet assembly fixes
Date: Sat, 4 Jun 2016 13:59:57 -0700 [thread overview]
Message-ID: <cover.1465071319.git.sowmini.varadhan@oracle.com> (raw)
This three part patchset fixes bugs in synchronization between
rds_tcp_accept_one() and the rds-tcp send/recv path.
Patch 1 ensures that the lock_sock() is taken appropriately
and the RDS datagram reassembly state is reset to synchronize
with the receive path.
Patch 2 ensures that partially sent RDS datagrams will get
retransmitted after rds_tcp_accept_one() switches sockets.
Patch 3 fixes a race window which would prematurely re-enable
rds_send_xmit() before the rds_tcp_connection setup has been
completed in rds_tcp_accept_one().
Sowmini Varadhan (3):
RDS: TCP: Add/use rds_tcp_reset_callbacks to reset tcp socket safely
RDS: TCP: Retransmit half-sent datagrams when switching sockets in
rds_tcp_reset_callbacks
RDS: TCP: fix race windows in send-path quiescence by
rds_tcp_accept_one()
net/rds/rds.h | 2 +
net/rds/send.c | 1 +
net/rds/tcp.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++--
net/rds/tcp.h | 1 +
net/rds/tcp_connect.c | 2 +-
net/rds/tcp_listen.c | 20 ++++--------
net/rds/threads.c | 10 +++++-
7 files changed, 95 insertions(+), 19 deletions(-)
next reply other threads:[~2016-06-04 21:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-04 20:59 Sowmini Varadhan [this message]
2016-06-04 20:59 ` [PATCH net 1/3] RDS: TCP: Add/use rds_tcp_reset_callbacks to reset tcp socket safely Sowmini Varadhan
2016-06-06 19:04 ` Santosh Shilimkar
2016-06-04 20:59 ` [PATCH net 2/3] RDS: TCP: Retransmit half-sent datagrams when switching sockets in rds_tcp_reset_callbacks Sowmini Varadhan
2016-06-06 19:05 ` Santosh Shilimkar
2016-06-04 21:00 ` [PATCH net 3/3] RDS: TCP: fix race windows in send-path quiescence by rds_tcp_accept_one() Sowmini Varadhan
2016-06-06 19:20 ` Santosh Shilimkar
2016-06-07 22:10 ` [PATCH net 0/3] RDS: TCP: socket locking RDS packet assembly fixes David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1465071319.git.sowmini.varadhan@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=ajaykumar.hotchandani@oracle.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=rds-devel@oss.oracle.com \
--cc=santosh.shilimkar@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).