Files
linux-stable-mirror/fs
NeilBrown 804d55e92b nfsd: restore callback functionality for NFSv4.0
[ Upstream commit 7917f01a28 ]

A recent patch inadvertently broke callbacks for NFSv4.0.

In the 4.0 case we do not expect a session to be found but still need to
call setup_callback_client() which will not try to dereference it.

This patch moves the check for failure to find a session into the 4.1+
branch of setup_callback_client()

Fixes: 1e02c641c3 ("NFSD: Prevent NULL dereference in nfsd4_process_cb_update()")
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-09 13:28:37 +01:00
..
2024-12-14 19:51:12 +01:00
2024-10-22 15:40:40 +02:00
2024-12-14 19:51:44 +01:00
2024-02-23 08:54:51 +01:00
2024-03-01 13:21:43 +01:00
2023-09-23 11:10:01 +02:00
2023-08-30 16:18:19 +02:00
2024-04-10 16:19:01 +02:00