]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/can/af_can.c
net: pass kern to net_proto_family create function
[net-next-2.6.git] / net / can / af_can.c
index 9c0426dc3184cca6739a61db144ac4db9f296b90..833bd838edc69c74d9eb6cfabba12f3d2f96f8ce 100644 (file)
@@ -114,7 +114,8 @@ static void can_sock_destruct(struct sock *sk)
        skb_queue_purge(&sk->sk_receive_queue);
 }
 
-static int can_create(struct net *net, struct socket *sock, int protocol)
+static int can_create(struct net *net, struct socket *sock, int protocol,
+                     int kern)
 {
        struct sock *sk;
        struct can_proto *cp;