]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Properly unmap when getting a remote access error
authorSherman Pun <sherman.pun@sun.com>
Tue, 9 Mar 2010 20:36:19 +0000 (12:36 -0800)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:22 +0000 (16:41 -0700)
commit050d477bbd2fca07d50121f8fdf2e253854c524d
tree4eb5bc191b50ff5fa6bb8729f5998d3ceb0e7443
parent8f802460007d2476def9a7137df0e48521684a49
RDS: Properly unmap when getting a remote access error

If the RDMA op has aborted with a remote access error,
in addition to what we already do (tell userspace it has
completed with an error) also unmap it and put() the rm.

Otherwise, hangs may occur on arches that track maps and
will not exit without proper cleanup.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib_send.c