summaryrefslogtreecommitdiffstats
path: root/kernel/fs/afs/rxrpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/afs/rxrpc.c')
-rw-r--r--kernel/fs/afs/rxrpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/afs/rxrpc.c b/kernel/fs/afs/rxrpc.c
index 3a57a1b0f..b50642870 100644
--- a/kernel/fs/afs/rxrpc.c
+++ b/kernel/fs/afs/rxrpc.c
@@ -85,7 +85,7 @@ int afs_open_socket(void)
return -ENOMEM;
}
- ret = sock_create_kern(AF_RXRPC, SOCK_DGRAM, PF_INET, &socket);
+ ret = sock_create_kern(&init_net, AF_RXRPC, SOCK_DGRAM, PF_INET, &socket);
if (ret < 0) {
destroy_workqueue(afs_async_calls);
_leave(" = %d [socket]", ret);