ib_udata is used in (almost) all the places in the code that require ib_ucontext and can convey this information to the ib core and driver layers. Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@xxxxxxxxxx> --- include/rdma/ib_verbs.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 136f2ffc4b0b..cbde9669879c 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1528,10 +1528,11 @@ struct ib_uobject { }; struct ib_udata { - const void __user *inbuf; - void __user *outbuf; - size_t inlen; - size_t outlen; + const void __user *inbuf; + void __user *outbuf; + size_t inlen; + size_t outlen; + struct ib_ucontext *context; /* associated user context */ }; struct ib_pd { -- 2.17.1