]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
IB/hfi1: Validate header in set_armed_active
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 9 Aug 2016 15:19:56 +0000 (11:19 -0400)
committerDoug Ledford <dledford@redhat.com>
Mon, 22 Aug 2016 18:31:42 +0000 (14:31 -0400)
commit69b9f4a4233b6f9ea168c25123b9eb629739d8e5
tree4dd7276e4742a8fba4f0b0be56b0dc9c36a73eb0
parentc867caaf8ecd5498d399558d0f11825f175c6cdd
IB/hfi1: Validate header in set_armed_active

Validate the etype to insure that the header is correct.

Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/driver.c