commit | 11f74b40359b19f760964e71d04882a6caf530cc | [log] [tgz] |
---|---|---|
author | Alex Vesker <valex@mellanox.com> | Thu Jul 13 11:27:12 2017 +0300 |
committer | Leon Romanovsky <leon@kernel.org> | Sun Jul 23 09:45:11 2017 +0300 |
tree | a2e92b8a700c7a02920e32577f1a31199bea2aba | |
parent | a08e1120627f72e9ed7c291e3b9f8dd29c1513ab [diff] |
IB/ipoib: Prevent setting negative values to max_nonsrq_conn_qp Don't allow negative values to max_nonsrq_conn_qp. There is no functional impact on a negative value but it is logicically incorrect. Fixes: 68e995a29572 ("IPoIB/cm: Add connected mode support for devices without SRQs") Signed-off-by: Alex Vesker <valex@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>