net: pass kern to net_proto_family create function
[firefly-linux-kernel-4.4.55.git] / net / ipx / af_ipx.c
index 6481ee4bdf7231db11e1dd2a51d16d27cb1a9d68..96d193a24415412896269cb6ef5938f022dc2fa2 100644 (file)
@@ -1352,7 +1352,8 @@ static struct proto ipx_proto = {
        .obj_size = sizeof(struct ipx_sock),
 };
 
-static int ipx_create(struct net *net, struct socket *sock, int protocol)
+static int ipx_create(struct net *net, struct socket *sock, int protocol,
+                     int kern)
 {
        int rc = -ESOCKTNOSUPPORT;
        struct sock *sk;