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>
No related branches found
No related tags found
Showing
- net/rds/rds.h 2 additions, 0 deletionsnet/rds/rds.h
- net/rds/send.c 1 addition, 0 deletionsnet/rds/send.c
- net/rds/tcp.c 75 additions, 3 deletionsnet/rds/tcp.c
- net/rds/tcp.h 1 addition, 0 deletionsnet/rds/tcp.h
- net/rds/tcp_connect.c 1 addition, 1 deletionnet/rds/tcp_connect.c
- net/rds/tcp_listen.c 7 additions, 13 deletionsnet/rds/tcp_listen.c
- net/rds/threads.c 8 additions, 2 deletionsnet/rds/threads.c
Loading
Please register or sign in to comment