diff options
Diffstat (limited to 'net/atm/common.c')
| -rw-r--r-- | net/atm/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/atm/common.c b/net/atm/common.c index ed0466637e13..49a872db7e42 100644 --- a/net/atm/common.c +++ b/net/atm/common.c | |||
| @@ -141,7 +141,7 @@ static struct proto vcc_proto = { | |||
| 141 | .release_cb = vcc_release_cb, | 141 | .release_cb = vcc_release_cb, |
| 142 | }; | 142 | }; |
| 143 | 143 | ||
| 144 | int vcc_create(struct net *net, struct socket *sock, int protocol, int family) | 144 | int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern) |
| 145 | { | 145 | { |
| 146 | struct sock *sk; | 146 | struct sock *sk; |
| 147 | struct atm_vcc *vcc; | 147 | struct atm_vcc *vcc; |
| @@ -149,7 +149,7 @@ int vcc_create(struct net *net, struct socket *sock, int protocol, int family) | |||
| 149 | sock->sk = NULL; | 149 | sock->sk = NULL; |
| 150 | if (sock->type == SOCK_STREAM) | 150 | if (sock->type == SOCK_STREAM) |
| 151 | return -EINVAL; | 151 | return -EINVAL; |
| 152 | sk = sk_alloc(net, family, GFP_KERNEL, &vcc_proto); | 152 | sk = sk_alloc(net, family, GFP_KERNEL, &vcc_proto, kern); |
| 153 | if (!sk) | 153 | if (!sk) |
| 154 | return -ENOMEM; | 154 | return -ENOMEM; |
| 155 | sock_init_data(sock, sk); | 155 | sock_init_data(sock, sk); |
