diff options
| author | NeilBrown <[email protected]> | 2024-06-24 23:04:56 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-06-25 14:15:39 +0000 |
| commit | e0011bca603c101f2a3c007bdb77f7006fa78fb1 (patch) | |
| tree | 063fd108f42813ad412cb6bb5907f138e7418b17 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | NFSD: grab nfsd_mutex in nfsd_nl_rpc_status_get_dumpit() (diff) | |
| download | kernel-e0011bca603c101f2a3c007bdb77f7006fa78fb1.tar.gz kernel-e0011bca603c101f2a3c007bdb77f7006fa78fb1.zip | |
nfsd: initialise nfsd_info.mutex early.
nfsd_info.mutex can be dereferenced by svc_pool_stats_start()
immediately after the new netns is created. Currently this can
trigger an oops.
Move the initialisation earlier before it can possibly be dereferenced.
Fixes: 7b207ccd9833 ("svc: don't hold reference for poolstats, only mutex.")
Reported-by: Sourabh Jain <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: NeilBrown <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
