]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Modify conditional on ucontext existence
authorEli Cohen <eli@mellanox.com>
Sun, 14 Feb 2016 15:07:49 +0000 (17:07 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 Mar 2016 15:19:40 +0000 (10:19 -0500)
commitdd731369537d3158598bf9ad35f0da43f3e9c628
treec5b3d1826dd1fe5def9698db5c5fe33441b0420a
parent3f9f0c78d78f8f3382e8f15b5eb1dd8678ab5eff
IB/core: Modify conditional on ucontext existence

Since we allow to call legacy verbs using their extended counterpart,
the check on ucontext has to move up to a common area in case this verb
is ever extended.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_main.c