angler-fishThe Vulnerability History Project

net: Pass kern from net_proto_family.create to sk_alloc

      In preparation for changing how struct net is refcounted
on kernel sockets pass the knowledge that we are creating
a kernel socket from sock_create_kern through to sk_alloc.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
    
commit 11aa9c28b4209242a9de0a661a7b3405adb568a0
+2 -2
+6 -6
+1 -1
+2 -2
+1 -1
+2 -2
+1 -1
+1 -1
+1 -1
+1 -1
+1 -1
+1 -1
+2 -2
+1 -1
+1 -1
+1 -1
+2 -2
+1 -1
+1 -1
+1 -1
+1 -1
+5 -5
+4 -4
+4 -4
+1 -1
+1 -1
+2 -1
+4 -4
+1 -1
+1 -1
+1 -1
+1 -1
+1 -1
+5 -5
+1 -1
+2 -2
+1 -1
+3 -3
+5 -6
+2 -2
+1 -1
+1 -1
+1 -1
+4 -4
+1 -1
+2 -2
+1 -1
+1 -1
+1 -1
+1 -1
+2 -2
+1 -1
+1 -1
+1 -1
+1 -1
+4 -4
+4 -3
+1 -1
+4 -4
expand_less