commit | ca95c1411198c2d87217c19d44571052cdc94725 | [log] [tgz] |
---|---|---|
author | Michael Guralnik <michaelgur@mellanox.com> | Wed Jan 08 20:05:35 2020 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Thu Jan 16 15:55:45 2020 -0400 |
tree | 8fa71cceb10e27fcf1c0ff72d2a86904f8bfd592 | |
parent | a1123418ba1078037d9fecb72573ff7222dfe201 [diff] |
RDMA/uverbs: Verify MR access flags Verify that MR access flags that are passed from user are all supported ones, otherwise an error is returned. Fixes: 4fca03778351 ("IB/uverbs: Move ib_access_flags and ib_read_counters_flags to uapi") Link: https://lore.kernel.org/r/1578506740-22188-6-git-send-email-yishaih@mellanox.com Signed-off-by: Michael Guralnik <michaelgur@mellanox.com> Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>