diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index a2aa97d4567063..d56a9904e52ab3 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -235,6 +235,7 @@ static int make_socks(struct svc_serv *serv, struct net *net) if (warned++ == 0) printk(KERN_WARNING "lockd_up: makesock failed, error=%d\n", err); + svc_shutdown_net(serv, net); return err; }