]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Fix an Oops in free_session()
authorTrond Myklebust <trondmy@gmail.com>
Tue, 9 Oct 2018 19:54:15 +0000 (15:54 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 29 Oct 2018 20:58:04 +0000 (16:58 -0400)
commitfa2135386c7b083d5cabd243217a1dbdee94f0e1
tree9dd0c1cad4f1f1ae8188e3808a38aa0fdd7cf669
parente7c022c94d6e2888c2fcf55d0b6af4e47fd287b2
nfsd: Fix an Oops in free_session()

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>
net/sunrpc/svc_xprt.c