diff options
Diffstat (limited to 'net/iucv/af_iucv.c')
-rw-r--r-- | net/iucv/af_iucv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index 53ae14c35f70..53668585e947 100644 --- a/net/iucv/af_iucv.c +++ b/net/iucv/af_iucv.c | |||
@@ -213,7 +213,7 @@ static struct sock *iucv_sock_alloc(struct socket *sock, int proto, gfp_t prio) | |||
213 | { | 213 | { |
214 | struct sock *sk; | 214 | struct sock *sk; |
215 | 215 | ||
216 | sk = sk_alloc(PF_IUCV, prio, &iucv_proto, 1); | 216 | sk = sk_alloc(&init_net, PF_IUCV, prio, &iucv_proto, 1); |
217 | if (!sk) | 217 | if (!sk) |
218 | return NULL; | 218 | return NULL; |
219 | 219 | ||
@@ -240,7 +240,7 @@ static struct sock *iucv_sock_alloc(struct socket *sock, int proto, gfp_t prio) | |||
240 | } | 240 | } |
241 | 241 | ||
242 | /* Create an IUCV socket */ | 242 | /* Create an IUCV socket */ |
243 | static int iucv_sock_create(struct socket *sock, int protocol) | 243 | static int iucv_sock_create(struct net *net, struct socket *sock, int protocol) |
244 | { | 244 | { |
245 | struct sock *sk; | 245 | struct sock *sk; |
246 | 246 | ||