diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-02-16 09:26:19 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 10:08:16 -0800 |
commit | 4d9781c5ce1a517a07dbf03c37323c011037fe79 (patch) | |
tree | 68ad197f6ced067ab8c29294d156ee6e2e04da4e /drivers/infiniband/ulp | |
parent | IB/mthca: Bump driver version and release date (diff) | |
download | linux-dev-4d9781c5ce1a517a07dbf03c37323c011037fe79.tar.xz linux-dev-4d9781c5ce1a517a07dbf03c37323c011037fe79.zip |
IB/uverbs: Fix alignment of struct ib_uverbs_create_qp_resp
The size of struct ib_uverbs_create_qp_resp is not even multiple of 8
bytes. This causes problems for low-level drivers that add private
data after the structure: 32-bit userspace will look in the wrong
place for a response from a 64-bit kernel. Fix this by adding a
reserved field. Also, bump the ABI version because this changes the
size of a structure.
Pointed out by Hoang-Nam Nguyen <HNGUYEN@de.ibm.com>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions