RDMA/uverbs: Refactor the header validation logic
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 21 Feb 2018 16:12:41 +0000 (18:12 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 23 Feb 2018 03:29:50 +0000 (22:29 -0500)
commit6284380a97a60cbe827904dc454a835bc309c248
treea55841169e98461bf62c7108b9c9d9d57cf2d461
parente21719fbbd1786c09132e0483c72c136a61b79ed
RDMA/uverbs: Refactor the header validation logic

Move all header validation logic to be performed before SRCU read lock.

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