• Andy Grover's avatar
    RDS/IB: Disallow connections less than RDS 3.1 · f147dd9e
    Andy Grover authored
    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: default avatarAndy Grover <andy.grover@oracle.com>
    f147dd9e
ib_recv.c 26 KB