net: Pass kern from net_proto_family.create to sk_alloc
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 9 May 2015 02:09:13 +0000 (21:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2015 14:50:17 +0000 (10:50 -0400)
commit11aa9c28b4209242a9de0a661a7b3405adb568a0
treed0dda021d89c17c54d54d227269f937d2d73b542
parenteeb1bd5c40edb0e2fd925c8535e2fdebdbc5cef2
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>
59 files changed:
crypto/af_alg.c
drivers/isdn/mISDN/socket.c
drivers/net/macvtap.c
drivers/net/ppp/pppoe.c
drivers/net/ppp/pppox.c
drivers/net/ppp/pptp.c
drivers/net/tun.c
include/linux/if_pppox.h
include/net/af_vsock.h
include/net/llc_conn.h
include/net/sock.h
net/appletalk/ddp.c
net/atm/common.c
net/atm/common.h
net/atm/pvc.c
net/atm/svc.c
net/ax25/af_ax25.c
net/bluetooth/bnep/sock.c
net/bluetooth/cmtp/sock.c
net/bluetooth/hci_sock.c
net/bluetooth/hidp/sock.c
net/bluetooth/l2cap_sock.c
net/bluetooth/rfcomm/sock.c
net/bluetooth/sco.c
net/caif/caif_socket.c
net/can/af_can.c
net/core/sock.c
net/decnet/af_decnet.c
net/ieee802154/socket.c
net/ipv4/af_inet.c
net/ipv6/af_inet6.c
net/ipx/af_ipx.c
net/irda/af_irda.c
net/iucv/af_iucv.c
net/key/af_key.c
net/l2tp/l2tp_ppp.c
net/llc/af_llc.c
net/llc/llc_conn.c
net/netlink/af_netlink.c
net/netrom/af_netrom.c
net/nfc/af_nfc.c
net/nfc/llcp.h
net/nfc/llcp_core.c
net/nfc/llcp_sock.c
net/nfc/nfc.h
net/nfc/rawsock.c
net/packet/af_packet.c
net/phonet/af_phonet.c
net/phonet/pep.c
net/rds/af_rds.c
net/rose/af_rose.c
net/rxrpc/af_rxrpc.c
net/sctp/ipv6.c
net/sctp/protocol.c
net/tipc/socket.c
net/unix/af_unix.c
net/vmw_vsock/af_vsock.c
net/vmw_vsock/vmci_transport.c
net/x25/af_x25.c