Skip to content
Commit 774f8bbd authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd: fix startup/shutdown order bug



We must create the server before we can call init_socks or check the
number of threads.

Symptoms were a NULL pointer dereference in nfsd_svc().  Problem
identified by Jeff Layton.

Also fix a minor cleanup-on-error case in nfsd_startup().

Reported-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 039a87ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment