net: pass kern to net_proto_family create function
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / packet / af_packet.c
index 91d246d3478066f4b0d79c4f95aa2f00915c374f..3304caa65347a66b2b39fad947f53217e6585eb5 100644 (file)
@@ -1344,7 +1344,8 @@ static struct proto packet_proto = {
  *     Create a packet of type SOCK_PACKET.
  */
 
-static int packet_create(struct net *net, struct socket *sock, int protocol)
+static int packet_create(struct net *net, struct socket *sock, int protocol,
+                        int kern)
 {
        struct sock *sk;
        struct packet_sock *po;