summaryrefslogtreecommitdiff
path: root/mm/vmpressure.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-06-03 15:37:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-16 12:53:04 +0300
commit634f17ff1d59905eb3b4bbbc00805961d08beaee (patch)
tree447b110c96fb951b70a5ce65c290f39ff3738d09 /mm/vmpressure.c
parente0e5c5ea305d21a4f8a3f8ac0b1a47fc7591d492 (diff)
downloadlinux-634f17ff1d59905eb3b4bbbc00805961d08beaee.tar.xz
NFS: Fix a potential NULL dereference in nfs_get_client()
[ Upstream commit 09226e8303beeec10f2ff844d2e46d1371dc58e0 ] None of the callers are expecting NULL returns from nfs_get_client() so this code will lead to an Oops. It's better to return an error pointer. I expect that this is dead code so hopefully no one is affected. Fixes: 31434f496abb ("nfs: check hostname in nfs_get_client") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/vmpressure.c')
0 files changed, 0 insertions, 0 deletions