commit | ec0d8b8a63ee760bca1bccc6769d6210e05ded29 | [log] [tgz] |
---|---|---|
author | Kamenee Arumugame <kamenee.arumugam@intel.com> | Sun Aug 13 08:08:46 2017 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Tue Aug 22 14:22:37 2017 -0400 |
tree | 29e222aa1b4d09dedeea1692298674285d91dfec | |
parent | 76ae6222a4a37098610c0601a814c9caba94ba0b [diff] |
IB/hfi1: Stricter bounds checking of MAD trap index The macro size is valid. This change makes it less ambiguous. Bounds check trap type for better security. Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Kamenee Arumugam <kamenee.arumugam@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>