commit | 9ddbcfa098bae757d3760dd1dbf2847a0bd5a525 | [log] [tgz] |
---|---|---|
author | Andy Grover <andy.grover@oracle.com> | Fri Jul 17 13:13:23 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 20 08:03:02 2009 -0700 |
tree | 256e6839ab22cdb0570f1f44d84631b898e0cfde | |
parent | 3ba23ade464cca7c4a7ba5628c613339d3f2e161 [diff] |
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> Signed-off-by: David S. Miller <davem@davemloft.net>