commit | eecd97e13c1553dfff1c159513b6ab041f53a70a | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Tue Oct 09 15:54:15 2018 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 13 11:15:10 2018 -0800 |
tree | b28b7cb10840dfb4e0f8a3ead211c28fee792d04 | |
parent | eecbf2c22b3f0dca05a199a8992ac2158266dfbd [diff] |
nfsd: Fix an Oops in free_session() commit bb6ad5572c0022e17e846b382d7413cdcf8055be upstream. In call_xpt_users(), we delete the entry from the list, but we do not reinitialise it. This triggers the list poisoning when we later call unregister_xpt_user() in nfsd4_del_conns(). Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>