IPoIB: Clear high octet in QP number
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 16 Nov 2006 08:59:12 +0000 (10:59 +0200)
committerRoland Dreier <rolandd@cisco.com>
Thu, 16 Nov 2006 21:56:45 +0000 (13:56 -0800)
IPoIB assumes that high (reserved) octet in the hardware address is 0,
and copies it into the QPN.  This violates RFC 4391 (which requires
that the high 8 bits are ignored on receive), and will result in an
invalid QPN being used when interoperating with IPoIB connected mode.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found