aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorMoni Shoua <[email protected]>2017-12-24 13:54:57 +0200
committerJason Gunthorpe <[email protected]>2017-12-27 15:24:41 -0700
commit05d14e7b0c138cb07ba30e464f47b39434f3fdef (patch)
tree7cd4b645a1b00b58a511d86738019bf109aaf960 /scripts/gdb/linux/dmesg.py
parentad9a3668a434faca1339789ed2f043d679199309 (diff)
IB/uverbs: Fix command checking as part of ib_uverbs_ex_modify_qp()
If the input command length is larger than the kernel supports an error should be returned in case the unsupported bytes are not cleared, instead of the other way aroudn. This matches what all other callers of ib_is_udata_cleared do and will avoid user ABI problems in the future. Cc: <[email protected]> # v4.10 Fixes: 189aba99e700 ("IB/uverbs: Extend modify_qp and support packet pacing") Reviewed-by: Yishai Hadas <[email protected]> Signed-off-by: Moni Shoua <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions