]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/netrom/af_netrom.c
net: pass kern to net_proto_family create function
[net-next-2.6.git] / net / netrom / af_netrom.c
index 281fa597cae5cafb45fed9677c819d3ccaaf8f79..4bdd5697f63b6a60a643b7c97b1690afd11f01ac 100644 (file)
@@ -425,7 +425,8 @@ static struct proto nr_proto = {
        .obj_size = sizeof(struct nr_sock),
 };
 
-static int nr_create(struct net *net, struct socket *sock, int protocol)
+static int nr_create(struct net *net, struct socket *sock, int protocol,
+                    int kern)
 {
        struct sock *sk;
        struct nr_sock *nr;