]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - net/bluetooth/l2cap.c
net: pass kern to net_proto_family create function
[mirror_ubuntu-eoan-kernel.git] / net / bluetooth / l2cap.c
index d65101d92ee59d6f6f0c1ad7d153401178c5a2d1..365ae161d702b8f6174df8e5ceaf04c825d7a760 100644 (file)
@@ -819,7 +819,8 @@ static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int p
        return sk;
 }
 
-static int l2cap_sock_create(struct net *net, struct socket *sock, int protocol)
+static int l2cap_sock_create(struct net *net, struct socket *sock, int protocol,
+                            int kern)
 {
        struct sock *sk;