]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51feefeb52ccc374041835ec9f55e1c750043e46
tree1e3cdab2dc27b37ff2b820cd8081b33da95ab08c
parentbdee92e6d6bfd9f9834d72f78148190fb0111b8e
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