
< 	rpc_proc_register(net, &nn->rpcstats);
---
> 	if (!nn) {
> 		printk(KERN_ERR "nfs_net_init: nn is NULL\n");
> 		return -EFAULT;
> 	}
> 	rpc_proc_register(net, &nn->rpcstats);
