RDS/IB: Disallow connections less than RDS 3.1
authorAndy Grover <andy.grover@oracle.com>
Wed, 13 Jan 2010 23:50:09 +0000 (15:50 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:11:48 +0000 (18:11 -0700)
commitf147dd9ecabf23fd63d2562ffe64252a0453ecde
tree1e3cdab2dc27b37ff2b820cd8081b33da95ab08c
parent9c030391e8741695ff6114703e4edccccb634479
RDS/IB: Disallow connections less than RDS 3.1

RDS 3.0 connections (in OFED 1.3 and earlier) put the
header at the end. 3.1 connections put it at the head.
The code has significant added complexity in order to
handle both configurations. In OFED 1.6 we can
drop this and simplify the code by only supporting
"header-first" configuration.

This patch checks the protocol version, and if prior
to 3.1, does not complete the connection.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib_cm.c
net/rds/ib_recv.c