summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2009-05-14 16:34:28 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-05-27 18:57:24 -0400
commit98779be861a05c4cb75bed916df72ec0cba8b53d (patch)
tree6c7f51832c835cc3e98796fff83abc440edb3255 /net/sctp
parent7f4218354fe312b327af06c3d8c95ed5f214c8ca (diff)
downloadop-kernel-dev-98779be861a05c4cb75bed916df72ec0cba8b53d.zip
op-kernel-dev-98779be861a05c4cb75bed916df72ec0cba8b53d.tar.gz
svcrdma: dma unmap the correct length for the RPCRDMA header page.
The svcrdma module was incorrectly unmapping the RPCRDMA header page. On IBM pserver systems this causes a resource leak that results in running out of bus address space (10 cthon iterations will reproduce it). The code was mapping the full page but only unmapping the actual header length. The fix is to only map the header length. I also cleaned up the use of ib_dma_map_page() calls since the unmap logic always uses ib_dma_unmap_single(). I made these symmetrical. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud