diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2015-11-20 09:56:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 21:25:43 -0800 |
commit | 1fa68c4c9661ab3ee68c81384fa926f6c6a8a19a (patch) | |
tree | 17c845ff3704482aeb27e4ea283f731be011ffc8 /net/lapb/lapb_iface.c | |
parent | a19364141c35944b61dd0a3dd799986c5420919f (diff) |
nfs4: start callback_ident at idr 1
commit c68a027c05709330fe5b2f50c50d5fa02124b5d8 upstream.
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()")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions