Re: [PATCH 3/6] net: Pass kern from net_proto_family.create to sk_alloc

2015-05-09 Thread Eric W. Biederman
Eric Dumazet writes: > On Fri, 2015-05-08 at 21:09 -0500, Eric W. Biederman wrote: >> 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. > > ... > >> >> diff --git a/

Re: [PATCH 3/6] net: Pass kern from net_proto_family.create to sk_alloc

2015-05-09 Thread Eric Dumazet
On Fri, 2015-05-08 at 21:09 -0500, Eric W. Biederman wrote: > 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. ... > > diff --git a/drivers/net/tun.c b/drivers/net/tu

[PATCH 3/6] net: Pass kern from net_proto_family.create to sk_alloc

2015-05-08 Thread Eric W. Biederman
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" --- crypto/af_alg.c| 4 ++-- drivers/isdn/mISDN/socket.c| 12