NFSv4: Sanity check the parameters in nfs41_update_target_slotid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 7 Nov 2021 14:15:44 +0000 (09:15 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 7 Nov 2021 14:23:14 +0000 (09:23 -0500)
commitf96f8cc4a63dd645e07ea9712be4e0a76ea4ec1f
tree85ebbff5baf8324fc653747813e5b5d4a9c12e51
parent1e2f67da89310c3b879c4e18d0d1d57e9d901745
NFSv4: Sanity check the parameters in nfs41_update_target_slotid()

Ensure that the values supplied by the server do not exceed the size of
the largest allowed slot table.

Reported-by: <rtm@csail.mit.edu>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4session.c
fs/nfs/nfs4session.h