]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: TCP: Retransmit half-sent datagrams when switching sockets in rds_tcp_reset_call...
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Tue, 7 Jun 2016 17:37:28 +0000 (10:37 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 10 Aug 2016 23:04:31 +0000 (16:04 -0700)
commit3882f652247279d915b218ec85d4639d0babcf72
tree05c1ef423c9b671bed0e67308b7878088a9f80cc
parent3fb663be325e3ba30393d2a5516f47c3e624b6c2
RDS: TCP: Retransmit half-sent datagrams when switching sockets in rds_tcp_reset_callbacks

Orabug: 23542064

Backport of upstream commit 0b6f760cff04 ("RDS: TCP: Retransmit half-sent
datagrams when switching sockets in rds_tcp_reset_callbacks")

When we switch a connection's sockets in rds_tcp_rest_callbacks,
any partially sent datagram must be retransmitted on the new
socket so that the receiver can correctly reassmble the RDS
datagram. Use rds_send_reset() which is designed for this purpose.

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/send.c
net/rds/tcp.c