]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/if_pppox.h
[NET]: Make socket creation namespace safe.
[net-next-2.6.git] / include / linux / if_pppox.h
index 25652545ba6e19683a9efff8172ec83d4b98efd4..43cfc9f0c078279af2da179206ee9691ced5489c 100644 (file)
@@ -172,7 +172,7 @@ static inline struct sock *sk_pppox(struct pppox_sock *po)
 struct module;
 
 struct pppox_proto {
-       int             (*create)(struct socket *sock);
+       int             (*create)(struct net *net, struct socket *sock);
        int             (*ioctl)(struct socket *sock, unsigned int cmd,
                                 unsigned long arg);
        struct module   *owner;