commit | db730894f4f7e7afcaf31d17679ed58b4f781500 | [log] [tgz] |
---|---|---|
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | Sun Apr 09 10:16:03 2017 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Fri Apr 28 13:48:01 2017 -0400 |
tree | 32e6004b5a0265a0f19668370f160016959721c4 | |
parent | aad9ff97ddd774f03f5e055ade2b2d27a9c82ddb [diff] |
IB/hfi1: Validate the TID count before using it Improve the safety of the code by validating the user supplied tidcnt before use. Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>