diff options
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/svc.c b/net/atm/svc.c index daf9a48a7db..de1e4f2f3a4 100644 --- a/net/atm/svc.c +++ b/net/atm/svc.c @@ -326,7 +326,7 @@ static int svc_accept(struct socket *sock,struct socket *newsock,int flags) lock_sock(sk); - error = svc_create(sk->sk_net, newsock,0); + error = svc_create(sock_net(sk), newsock,0); if (error) goto out; |