aboutsummaryrefslogtreecommitdiff
path: root/arch/m32r
diff options
context:
space:
mode:
authorPavel Shilovsky2016-11-04 11:50:31 -0700
committerPavel Shilovsky2016-12-05 12:08:33 -0800
commit53e0e11efe9289535b060a51d4cf37c25e0d0f2b (patch)
tree46d7d80876843d554ffc9ca45ef74a2ba0233dc7 /arch/m32r
parente3d240e9d505fc67f8f8735836df97a794bbd946 (diff)
CIFS: Fix a possible memory corruption during reconnect
We can not unlock/lock cifs_tcp_ses_lock while walking through ses and tcon lists because it can corrupt list iterator pointers and a tcon structure can be released if we don't hold an extra reference. Fix it by moving a reconnect process to a separate delayed work and acquiring a reference to every tcon that needs to be reconnected. Also do not send an echo request on newly established connections. CC: Stable <stable@vger.kernel.org> Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions