]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Merge branch 'rds-packet-assembly-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2016 22:10:16 +0000 (15:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2016 22:10:16 +0000 (15:10 -0700)
commit29a36611e9f10f629b4d7920418fcb8f5e50ae75
tree69cbc888d7d91fe1e3c197443f608e35d54a4c30
parent80e509db54c81247b32fcb75bb1730fc789b893d
parent9c79440e2c5e2518879f1599270f64c3ddda3baf
Merge branch 'rds-packet-assembly-fixes'

Sowmini Varadhan says:

====================
RDS: TCP: socket locking RDS packet assembly fixes

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().
====================

Signed-off-by: David S. Miller <davem@davemloft.net>