]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/rose/af_rose.c
net: pass kern to net_proto_family create function
[net-next-2.6.git] / net / rose / af_rose.c
index c17734c2ce8936f488619ea7ef14b2bebe9e79cb..4de4287fec37ea20e1776f34221b4703956646ea 100644 (file)
@@ -512,7 +512,8 @@ static struct proto rose_proto = {
        .obj_size = sizeof(struct rose_sock),
 };
 
-static int rose_create(struct net *net, struct socket *sock, int protocol)
+static int rose_create(struct net *net, struct socket *sock, int protocol,
+                      int kern)
 {
        struct sock *sk;
        struct rose_sock *rose;