The patch titled srp: fix fmr error handling has been added to the -mm tree. Its filename is srp-fix-fmr-error-handling.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: srp: fix fmr error handling From: Vu Pham <vu@xxxxxxxxxxxx> srp_unmap_data assumes req->fmr is NULL if the request is not mapped, so we must clean it out in case of an error. Signed-off-by: Vu Pham <vu@xxxxxxxxxxxx> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxxxxxx> Acked-by: Roland Dreier <rolandd@xxxxxxxxx> Cc: Roland Dreier <rolandd@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/infiniband/ulp/srp/ib_srp.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/infiniband/ulp/srp/ib_srp.c~srp-fix-fmr-error-handling drivers/infiniband/ulp/srp/ib_srp.c --- a/drivers/infiniband/ulp/srp/ib_srp.c~srp-fix-fmr-error-handling +++ a/drivers/infiniband/ulp/srp/ib_srp.c @@ -618,6 +618,7 @@ static int srp_map_fmr(struct srp_device dma_pages, page_cnt, &io_addr); if (IS_ERR(req->fmr)) { ret = PTR_ERR(req->fmr); + req->fmr = NULL; goto out; } _ Patches currently in -mm which might be from vu@xxxxxxxxxxxx are srp-fix-fmr-error-handling.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html