]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: Properly unmap when getting a remote access error
authorSherman Pun <sherman.pun@sun.com>
Thu, 11 Mar 2010 13:50:05 +0000 (13:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:17:00 +0000 (21:17 -0700)
commit49bb8d55cbeb6be0fd370332db3af467abc216dd
tree92abe1897ad7ab857e091475bcb84227af01962a
parentf1610b253410d0149e64c038ab488ccbb408e604
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_send.c