linux/drivers/infiniband
Jason Gunthorpe 922983c2a1 IB/uverbs: Fix reading of 32 bit flags
This is missing a zeroing of the high bits of flags, and is also not
correct for big endian machines. Properly zero extend the 32 bit flags
into the 64 bit stack variable.

Reported-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Fixes: bccd06223f ("IB/uverbs: Add UVERBS_ATTR_FLAGS_IN to the specs language")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
2018-08-09 15:46:07 -06:00
..
core IB/uverbs: Fix reading of 32 bit flags 2018-08-09 15:46:07 -06:00
hw iw_cxgb4: pass window scale in flowc work request 2018-08-08 09:54:55 -06:00
sw RDMA/rxe: Set wqe->status correctly if an unexpected response is received 2018-08-08 09:57:30 -06:00
ulp IB/ipoib: Consolidate checking of the proposed child interface 2018-08-02 20:27:44 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00