]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: IB: disable ib_cache purging to avoid memory leak in reconnect path
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 17 May 2016 21:46:18 +0000 (14:46 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 22 May 2016 21:59:39 +0000 (14:59 -0700)
commit11f0ba4e170063ce17d97136455f89680844b24c
treefd65cedd0b5f404ab88adde2c13c56d3b0146984
parentfd1fba18110a1f902812b034f6aead16a2146b53
RDS: IB: disable ib_cache purging to avoid memory leak in reconnect path

RDS IB caches don't work in reconnect path and if used can lead to
memory leaks. These leaks have been there for long time but we didn't
hit them since caches are not teardown in reconnect path. For different
frag rolling upgrade/downgrade support, its needed to work in reconnect
path but needs additional fixes.

Since the leak is blocking rest of the testing, temporary the cache
purging is disabled. It will be added back once fully fixed.

Orabug: 23275911

The change doesn't impact any of the existing RDS functionality.

Tested-by: Hong Liu <hong.x.liu@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib_cm.c