]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS: make nfs_match_client killable
authorRoberto Bergantinos Corpas <rbergant@redhat.com>
Thu, 25 Apr 2019 13:36:51 +0000 (15:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:44:51 +0000 (06:44 -0700)
commitb26a8378fdedd78fdd4df08111d5774c23bbb036
tree93952c5ded7b17ea9b276fb68320501e9f602dbd
parent07ef782e64d0803e8e38c1fec9f03f1ee3afda85
NFS: make nfs_match_client killable

[ Upstream commit 950a578c6128c2886e295b9c7ecb0b6b22fcc92b ]

    Actually we don't do anything with return value from
    nfs_wait_client_init_complete in nfs_match_client, as a
    consequence if we get a fatal signal and client is not
    fully initialised, we'll loop to "again" label

    This has been proven to cause soft lockups on some scenarios
    (no-carrier but configured network interfaces)

Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/client.c