]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - net/phonet/af_phonet.c
net: pass kern to net_proto_family create function
[mirror_ubuntu-jammy-kernel.git] / net / phonet / af_phonet.c
index 66737aa995eae8da19a68764c466749478724968..3bd1be6b26f0258932ae14c51995fbefe1b641c0 100644 (file)
@@ -60,7 +60,8 @@ static inline void phonet_proto_put(struct phonet_protocol *pp)
 
 /* protocol family functions */
 
-static int pn_socket_create(struct net *net, struct socket *sock, int protocol)
+static int pn_socket_create(struct net *net, struct socket *sock, int protocol,
+                           int kern)
 {
        struct sock *sk;
        struct pn_sock *pn;