aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorMajd Dibbiny <[email protected]>2018-09-18 10:51:37 +0300
committerJason Gunthorpe <[email protected]>2018-09-20 16:47:30 -0600
commit4eeed3686981ff887bbdd7254139e2eca276534c (patch)
tree40957a7874ee1c9ad9b124d7ba630d4bdcc16e4b /include/linux/overflow.h
parentee92efe41cf358f4b99e73509f2bfd4733609f26 (diff)
RDMA/uverbs: Fix validity check for modify QP
Uverbs shouldn't enforce QP state in the command unless the user set the QP state bit in the attribute mask. In addition, only copy qp attr fields which have the corresponding bit set in the attribute mask over to the internal attr structure. Fixes: 88de869bbe4f ("RDMA/uverbs: Ensure validity of current QP state value") Fixes: bc38a6abdd5a ("[PATCH] IB uverbs: core implementation") Signed-off-by: Majd Dibbiny <[email protected]> Signed-off-by: Jack Morgenstein <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions