aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/verbs.c
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2018-06-11 20:15:11 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-06-11 12:43:41 -0600
commit3dc7c7badb7502ec3e3aa817a8bdd9e53aa54c52 (patch)
treea0f0646be188fa64044828964c64db81bc868217 /drivers/infiniband/core/verbs.c
parentRDMA/qedr: Fix NULL pointer dereference when running over iWARP without RDMA-CM (diff)
downloadlinux-dev-3dc7c7badb7502ec3e3aa817a8bdd9e53aa54c52.tar.xz
linux-dev-3dc7c7badb7502ec3e3aa817a8bdd9e53aa54c52.zip
IB/mlx4: Fix an error handling path in 'mlx4_ib_rereg_user_mr()'
Before returning -EPERM we should release some resources, as already done in the other error handling path of the function. Fixes: d8f9cc328c88 ("IB/mlx4: Mark user MR as writable if actual virtual memory is writable") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/verbs.c')
0 files changed, 0 insertions, 0 deletions