OSDN Git Service

NFSv4.0 fix client reference leak in callback
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 26 Jul 2018 20:04:47 +0000 (16:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Sep 2018 20:41:28 +0000 (22:41 +0200)
commit3ce0566333dd191fe9fbd1a6870ae453d83c259e
tree87110f2a8766add44366e7e603e8e3b0f5723666
parentaa405740d359b5e0ad3d6748ee0f187c3ad3162c
NFSv4.0 fix client reference leak in callback

[ Upstream commit 32cd3ee511f4e07ca25d71163b50e704808d22f4 ]

If there is an error during processing of a callback message, it leads
to refrence leak on the client structure and eventually an unclean
superblock.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/callback_xdr.c