]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/ax25/af_ax25.c
net: pass kern to net_proto_family create function
[mv-sheeva.git] / net / ax25 / af_ax25.c
index f1e998b2796ec8c40fb881deff0d5953f24715ef..d6ddfa4c4471fad58183e520c7e05b1c5ec69081 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;