RDMA/uverbs: Fail as early as possible if not enough header data was provided
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 21 Feb 2018 16:12:34 +0000 (18:12 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 23 Feb 2018 03:29:11 +0000 (22:29 -0500)
commit43ae95130db8fb70010f09b734c7c606eb9e61ce
tree5238717f4ddfb0d292bff596ff7650bf2de2cb9a
parenta6c4a66ae923eb780ef693a6841cbff7a025cbf9
RDMA/uverbs: Fail as early as possible if not enough header data was provided

Fail as early as possible if not enough header data
was provided.

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