]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS/IB: Improve RDS protocol version checking
authorAndy Grover <andy.grover@oracle.com>
Thu, 7 May 2009 20:17:12 +0000 (13:17 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:15 +0000 (16:41 -0700)
commite95b0e60741d9d3ab22a40bd63cffc2ff81842de
treee415a8b2d40d98231692406b393bb3ad8b3538c3
parent822631544bf603439c82dafff252fec2ac452b7d
RDS/IB: Improve RDS protocol version checking

RDS on IB uses privdata to do protocol version negotiation. Apparently
the IB stack will return a larger privdata buffer than the struct we were
expecting. Just to be extra-sure, this patch adds some checks in this area.

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