On Mon, Jun 05, 2023 at 01:33:24PM +0300, Leon Romanovsky wrote: > From: Edward Srouji <edwards@xxxxxxxxxx> > > According to the IB specification rel-1.6, section 3.5.3: > "QKEYs with the most significant bit set are considered controlled > QKEYs, and a HCA does not allow a consumer to arbitrarily specify a > controlled QKEY." > > Thus, block non-privileged users from setting such a QKEY. > > Fixes: bc38a6abdd5a ("[PATCH] IB uverbs: core implementation") cc: stable Jason