diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2015-11-20 15:56:20 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-11-24 03:59:42 +0100 |
commit | c68a027c05709330fe5b2f50c50d5fa02124b5d8 (patch) | |
tree | 42a72e774e63306c52ecd51d9c2314209a50bed0 /net | |
parent | nfs: use sliding delay when LAYOUTGET gets NFS4ERR_DELAY (diff) | |
download | linux-c68a027c05709330fe5b2f50c50d5fa02124b5d8.tar.xz linux-c68a027c05709330fe5b2f50c50d5fa02124b5d8.zip |
nfs4: start callback_ident at idr 1
If clp->cl_cb_ident is zero, then nfs_cb_idr_remove_locked() skips removing
it when the nfs_client is freed. A decoding or server bug can then find
and try to put that first nfs_client which would lead to a crash.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Fixes: d6870312659d ("nfs4client: convert to idr_alloc()")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions