commit | 2188558621ed475cef55fa94ce535499452f0091 | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Wed Feb 14 14:38:43 2018 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Fri Feb 16 09:18:55 2018 -0700 |
tree | 7e8e94051735e7515173c2f208ef737010a7c0cb | |
parent | 1f5a6c47aabc4606f91ad2e6ef71a1ff1924101c [diff] |
RDMA/verbs: Check existence of function prior to accessing it Update all the flows to ensure that function pointer exists prior to accessing it. This is much safer than checking the uverbs_ex_mask variable, especially since we know that test isn't working properly and will be removed in -next. This prevents a user triggereable oops. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>