diff options
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r-- | drivers/net/pppoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index ee8ce195c538..53fcee26d6ae 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/pppoe.c | |||
@@ -477,12 +477,12 @@ static struct proto pppoe_sk_proto = { | |||
477 | * Initialize a new struct sock. | 477 | * Initialize a new struct sock. |
478 | * | 478 | * |
479 | **********************************************************************/ | 479 | **********************************************************************/ |
480 | static int pppoe_create(struct socket *sock) | 480 | static int pppoe_create(struct net *net, struct socket *sock) |
481 | { | 481 | { |
482 | int error = -ENOMEM; | 482 | int error = -ENOMEM; |
483 | struct sock *sk; | 483 | struct sock *sk; |
484 | 484 | ||
485 | sk = sk_alloc(PF_PPPOX, GFP_KERNEL, &pppoe_sk_proto, 1); | 485 | sk = sk_alloc(net, PF_PPPOX, GFP_KERNEL, &pppoe_sk_proto, 1); |
486 | if (!sk) | 486 | if (!sk) |
487 | goto out; | 487 | goto out; |
488 | 488 | ||