
< 	rpc_proc_register(net, &nn->rpcstats);
---
> 	if (nn == NULL) {
> 		pr_err("nfs_net_init: nn is NULL\n");
> 		return -ENODEV;
> 	}
> 	rpc_proc_register(net, &nn->rpcstats);
