Skip to content
Commit dc205a8d authored by Santosh Shilimkar's avatar Santosh Shilimkar
Browse files

rds: avoid version downgrade to legitimate newer peer connections



Connections with legitimate tos values can get into usual connection
race. It can result in consumer reject. We don't want tos value or
protocol version to be demoted for such connections otherwise
piers would end up different tos values which can results in
no connection. Example a peer initiated connection with say
tos 8 while usual connection racing can get downgraded to tos 0
which is not desirable.

Patch fixes above issue introduced by commit
commit d021fabf ("rds: rdma: add consumer reject")

Reported-by: default avatarYanjun Zhu <yanjun.zhu@oracle.com>
Tested-by: default avatarYanjun Zhu <yanjun.zhu@oracle.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent fc640d4c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment