net: pass kern to net_proto_family create function
[safe/jmp/linux-2.6] / net / ax25 / af_ax25.c
index f1e998b..d6ddfa4 100644 (file)
@@ -799,7 +799,8 @@ static struct proto ax25_proto = {
        .obj_size = sizeof(struct sock),
 };
 
-static int ax25_create(struct net *net, struct socket *sock, int protocol)
+static int ax25_create(struct net *net, struct socket *sock, int protocol,
+                      int kern)
 {
        struct sock *sk;
        ax25_cb *ax25;