]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Fix out-of-order RDS_CMSG_RDMA_SEND_STATUS
authorWei Lin Guay <wei.lin.guay@oracle.com>
Wed, 11 Nov 2015 17:31:14 +0000 (09:31 -0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 11 Nov 2015 17:31:14 +0000 (09:31 -0800)
commit5631f1a303104d41f6ded0d603011d6c172b8644
treeabb367ef72ab01922d55b644ccae38a16175140c
parent1b0d55dca59305fc2a95ddf8c7541344de97dffc
RDS: Fix out-of-order RDS_CMSG_RDMA_SEND_STATUS

Orabug: 22126982

If the RDS user application requests notification of RDMA send
completions, there is a possibility that RDS_CMSG_RDMA_SEND_STATUS
will be delivered out-of-order.

This can happen if RDS drops sending ACK after it received an explicit
ACK. In this case, the rds message ended up in reverse order in the
list.

Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Reviewed-by: Ajaykumar Hotchandani <ajaykumar.hotchandani@oracle.com>
Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
net/rds/send.c