aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
AgeCommit message (Expand)AuthorFilesLines
2025-09-29Merge tag 'namespace-6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+9
2025-09-19net: port to ns_ref_*() helpersChristian Brauner1-4/+4
2025-09-19ns: add to_<type>_ns() to respective headersChristian Brauner1-0/+5
2025-09-01copy_process: pass clone_flags as u64 across calltreeSimon Schuster1-2/+2
2025-04-14net: Remove ->exit_batch_rtnl().Kuniyuki Iwashima1-2/+0
2025-04-14net: Add ->exit_rtnl() hook to struct pernet_operations.Kuniyuki Iwashima1-0/+2
2025-03-24net: introduce per netns packet chainsPaolo Abeni1-0/+3
2025-02-18net: Add net_passive_inc() and net_passive_dec().Kuniyuki Iwashima1-0/+11
2025-02-06net: add dev_net_rcu() helperEric Dumazet1-1/+1
2025-01-15net: expedite synchronize_net() for cleanup_net()Eric Dumazet1-0/+2
2024-12-06net: defer final 'struct net' free in netns dismantleEric Dumazet1-0/+1
2024-12-04ipmr: tune the ipmr_can_free_table() checks.Paolo Abeni1-0/+5
2024-10-08rtnetlink: Add per-netns RTNL.Kuniyuki Iwashima1-0/+4
2024-08-03net: Don't register pernet_operations if only one of id or size is specified.Kuniyuki Iwashima1-2/+2
2024-02-07net: add exit_batch_rtnl() methodEric Dumazet1-0/+3
2024-02-04net: make dev_unreg_count globalEric Dumazet1-2/+0
2023-10-18net: treat possible_net_t net pointer as an RCU one and add read_pnet_rcu()Jiri Pirko1-3/+12
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-4/+6
2023-08-15sysctl: SIZE_MAX->ARRAY_SIZE in register_net_sysctlJoel Granados1-1/+1
2023-08-15sysctl: Add size to register_net_sysctl functionJoel Granados1-4/+6
2023-07-28net: store netdevs in an xarrayJakub Kicinski1-1/+3
2022-10-24net: add a refcount tracker for kernel socketsEric Dumazet1-8/+22
2022-07-11netfilter: nf_flow_table: count pending offload workqueue tasksVlad Buslov1-0/+6
2022-06-22af_unix: Define a per-netns hash table.Kuniyuki Iwashima1-0/+2
2022-02-10net: make net->dev_unreg_count atomicEric Dumazet1-1/+1
2022-02-06net: initialize init_net earlierEric Dumazet1-0/+6
2021-12-10net: add networking namespace refcount trackerEric Dumazet1-0/+34
2021-08-01netfilter: remove xt pernet dataFlorian Westphal1-2/+0
2021-07-29mctp: Add initial routing frameworkJeremy Kerr1-0/+4
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+13
2021-06-16net/smc: Make SMC statistics network namespace awareGuvenc Gulce1-0/+4
2021-06-15net: inline function get_net_ns_by_fd if NET_NS is disabledChangbin Du1-1/+6
2021-06-12net: make get_net_ns return error if NET_NS is disabledChangbin Du1-0/+7
2021-04-09net: dccp: use net_generic storageFlorian Westphal1-4/+0
2021-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-nextDavid S. Miller1-9/+0
2021-04-06net: remove obsolete members from struct netFlorian Westphal1-9/+0
2021-04-01include: net: Remove repeated struct declarationWan Jiabing1-1/+0
2021-02-11net: initialize net->net_cookie at netns setupEric Dumazet1-3/+1
2020-12-15Merge tag 'net-next-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-3/+0
2020-12-14Merge tag 'fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/brau...Linus Torvalds1-7/+4
2020-12-01netfilter: nfnl_acct: remove data from struct netWang Shanker1-3/+0
2020-09-30bpf, net: Rework cookie generator as per-cpu oneDaniel Borkmann1-1/+1
2020-08-19net: Use generic ns_common::countChristian Brauner1-7/+4
2020-06-01net: Introduce netns_bpf for BPF programs attached to netnsJakub Sitnicki1-1/+3
2020-05-01ipv6: Use global sernum for dst validation with nexthop objectsDavid Ahern1-0/+7
2020-03-30bpf, net: Fix build issue when net ns not configuredDaniel Borkmann1-7/+2
2020-03-27bpf: Add netns cookie and enable it for bpf cgroup hooksDaniel Borkmann1-0/+10
2020-01-17netns: Constify exported functionsGuillaume Nault1-5/+5
2019-11-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2019-10-25netns: fix GFP flags in rtnl_net_notifyid()Guillaume Nault1-1/+1
2019-10-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-8/+17
2019-10-19net: reorder 'struct net' fields to avoid false sharingEric Dumazet1-8/+17
2019-10-02net: introduce per-netns netdevice notifiersJiri Pirko1-0/+3
2019-10-02net: push loops and nb calls into helper functionsJiri Pirko1-1/+2
2019-09-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-3/+0
2019-09-18Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+3
2019-09-07net: fib_notifier: move fib_notifier_ops from struct net into per-net structJiri Pirko1-3/+0
2019-08-21trivial: netns: fix typo in 'struct net.passive' descriptionMike Rapoport1-1/+1
2019-08-09sock: make cookie generation global instead of per netnsDaniel Borkmann1-1/+0
2019-07-26crypto: user - make NETLINK_CRYPTO work inside netnsOndrej Mosnacek1-0/+3
2019-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+7
2019-06-26keys: Network namespace domain tagDavid Howells1-0/+3
2019-06-19netns: add pre_exit method to struct pernet_operationsEric Dumazet1-0/+5
2019-05-28net: Initial nexthop codeDavid Ahern1-0/+2
2019-03-28netns: provide pure entropy for net_hash_mix()Eric Dumazet1-0/+1
2019-01-25net: xsk: track AF_XDP sockets on a per-netns listBjörn Töpel1-0/+4
2018-09-14flow_dissector: implements flow dissector BPF hookPetar Penkov1-0/+3
2018-07-20net: create reusable function for getting ownership info of sysfs inodesTyler Hicks1-0/+10
2018-06-18netfilter: ipv6: nf_defrag: reduce struct net memory wasteEric Dumazet1-0/+1
2018-03-29net: Introduce net_rwsem to protect net_namespace_listKirill Tkhai1-0/+1
2018-03-27net: Add more commentsKirill Tkhai1-0/+4
2018-03-27net: Rename net_sem to pernet_ops_rwsemKirill Tkhai1-5/+7
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-6/+0
2018-03-22net: add uevent socket memberChristian Brauner1-1/+3
2018-03-13net: Add comment about pernet_operations methods and synchronizationKirill Tkhai1-0/+14
2018-02-20net: Make cleanup_list and net::cleanup_list of llist typeKirill Tkhai1-1/+2
2018-02-20net: Kill net_mutexKirill Tkhai1-4/+7
2018-02-13net: Allow pernet_operations to be executed in parallelKirill Tkhai1-0/+6
2018-01-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+10
2018-01-25net: tcp: close sock if net namespace is exitingDan Streetman1-0/+10
2018-01-15net: Convert atomic_t net::count to refcount_tKirill Tkhai1-4/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-03net: core: Make the FIB notification chain genericIdo Schimmel1-0/+1
2017-07-19Merge tag 'gcc-plugins-v4.13-rc2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2017-07-01net: convert net.passive from atomic_t to refcount_tReshetova, Elena1-1/+2
2017-06-30randstruct: Mark various structs for randomizationKees Cook1-1/+1
2017-06-19netns: add and use net_ns_barrierFlorian Westphal1-0/+3
2017-04-04can: initial support for network namespacesMario Kicherer1-0/+4
2016-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-11-18netns: fix get_net_ns_by_fd(int pid) typoStefan Hajnoczi1-1/+1
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan1-1/+1
2016-08-08netns: Add a limit on the number of net namespacesEric W. Biederman1-0/+1
2016-08-02treewide: replace obsolete _refok by __refFabian Frederick1-1/+1
2015-12-14netfilter: cttimeout: add netns supportPablo Neira1-0/+3
2015-08-07netfilter: nfacct: per network namespace supportAndreas Schultz1-0/+3
2015-06-18net: include missing headers in net/net_namespace.hPablo Neira Ayuso1-0/+2
2015-05-17netns: make nsid_lock per netWANG Cong1-0/+1
2015-05-09netlink: allow to listen "all" netnsNicolas Dichtel1-0/+2
2015-05-09netns: rename peernet2id() to peernet2id_alloc()Nicolas Dichtel1-1/+1
2015-03-12net: Introduce possible_net_tEric W. Biederman1-10/+13
2015-03-12net: Kill hold_net release_netEric W. Biederman1-29/+0
2015-03-11net: add real socket cookiesEric Dumazet1-0/+2
2015-03-04mpls: Basic routing supportEric W. Biederman1-0/+4
2015-01-19netns: add rtnl cmd to add and get peer netns idsNicolas Dichtel1-0/+4
2014-12-04common object embedded into various struct ....nsAl Viro1-1/+2
2014-09-30ipv6: remove rt6i_genidHannes Frederic Sowa1-17/+3
2014-04-246lowpan: nuke net_ieee802154_lowpan() accessor when 6lowpan is disabledLuis R. Rodriguez1-7/+0
2014-04-206lowpan: add helper to get 6lowpan namespaceLuis R. Rodriguez1-0/+15
2014-04-16ipv4, fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iifCong Wang1-8/+1
2014-02-28net: ns: add ieee802154_6lowpan namespaceAlexander Aring1-0/+4
2014-02-09net: Move prototype declaration to header file include/net/net_namespace.h fr...Rashika Kheria1-0/+8
2013-10-14netfilter: nf_tables: complete net namespace supportPablo Neira Ayuso1-0/+4
2013-10-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2013-09-28net: Delay default_device_exit_batch until no devices are unregistering v2Eric W. Biederman1-0/+1
2013-09-21net_namespace.h: Remove extern from function prototypesJoe Perches1-14/+14
2013-07-31net: split rt_genid for ipv4 and ipv6fan.du1-5/+32
2013-06-26netns: exclude ipvs from struct net when IPVS disabledJunweiZhang1-0/+2
2013-06-03ipv4: use separate genid for next hop exceptionsTimo Teräs1-0/+11
2013-04-05netfilter: make /proc/net/netfilter pernetGao feng1-0/+2
2012-11-20proc: Usable inode numbers for the namespace file descriptors.Eric W. Biederman1-0/+2
2012-11-18userns: make each net (net_ns) belong to a user_nsEric W. Biederman1-2/+7
2012-11-18netns: Deduplicate and fix copy_net_ns when !CONFIG_NET_NSEric W. Biederman1-6/+9
2012-10-06sections: fix section conflicts in netAndi Kleen1-0/+2
2012-09-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+10
2012-09-19ipv6: add a new namespace for nf_conntrack_reasmAmerigo Wang1-0/+3
2012-09-18netns: move net->ipv4.rt_genid to net->rt_genidNicolas Dichtel1-0/+10
2012-08-14sctp: Make the address lists per network namespaceEric W. Biederman1-0/+4
2012-08-09net: Loopback ifindex is constant nowPavel Emelyanov1-0/+7
2012-08-09net: Make ifindex generation per-net namespacePavel Emelyanov1-0/+1
2012-07-16net: make sock diag per-namespaceAndrey Vagin1-0/+1
2012-04-23net sysctl: Add place holder functions for when sysctl support is compiled ou...Eric W. Biederman1-3/+12
2012-04-20net: Remove register_net_sysctl_tableEric W. Biederman1-3/+0
2012-04-20net: Kill register_sysctl_rotableEric W. Biederman1-2/+0
2012-04-20net sysctl: Initialize the network sysctls sooner to avoid problems.Eric W. Biederman1-0/+5
2012-04-20net: Implement register_net_sysctl.Eric W. Biederman1-0/+2
2011-12-11net: use IS_ENABLED(CONFIG_IPV6)Eric Dumazet1-1/+1
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-1/+1
2011-07-01rtnl: provide link dump consistency infoThomas Graf1-0/+1
2011-06-12Delay struct net freeing while there's a sysfs instance refering to itAl Viro1-1/+9
2011-05-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds1-0/+1
2011-05-27net: Add linux/sysctl.h includes where needed.David S. Miller1-0/+1
2011-05-10net: Allow setting the network namespace by fdEric W. Biederman1-0/+1
2011-03-15ipvs: move struct netns_ipvsJulian Anastasov1-1/+1
2011-01-13IPVS: netns, add basic init per netns.Hans Schillstrom1-0/+2
2010-10-25net_ns: add __rcu annotationsEric Dumazet1-1/+1
2010-10-17netns: reorder fields in struct netEric Dumazet1-7/+10
2010-03-12nsproxy: remove INIT_NSPROXY()Alexey Dobriyan1-5/+0
2010-01-13netfilter: nfnetlink: netns supportAlexey Dobriyan1-0/+2
2009-12-03net: Add support for batching network namespace cleanupsEric W. Biederman1-0/+2
2009-12-01net: remove [un]register_pernet_gen_... and update the docs.Eric W. Biederman1-22/+0
2009-12-01net: Automatically allocate per namespace data.Eric W. Biederman1-4/+24
2009-12-01net: Batch network namespace destruction.Eric W. Biederman1-1/+1
2009-10-24rtnetlink: speedup rtnl_dump_ifinfo()Eric Dumazet1-0/+4
2009-10-07wext: refactorJohannes Berg1-1/+1
2009-07-20net: explain netns notifiers a little betterJohannes Berg1-7/+9
2009-07-15wireless extensions: make netns awareJohannes Berg1-0/+3
2009-07-12net: move and export get_net_ns_by_pidJohannes Berg1-0/+2
2009-07-12genetlink: make netns awareJohannes Berg1-0/+2
2009-07-12net: make namespace iteration possible under RCUJohannes Berg1-0/+3
2009-03-03netns: Remove net_aliveEric W. Biederman1-10/+17
2008-11-25netns xfrm: add netns boilerplateAlexey Dobriyan1-0/+4
2008-11-12net: Introduce read_pnet() and write_pnet() helpersEric Dumazet1-0/+18
2008-10-30netns: add register_pernet_gen_subsys/unregister_pernet_gen_subsysAlexey Dobriyan1-0/+2
2008-10-08netfilter: netns nf_conntrack: add netns boilerplateAlexey Dobriyan1-0/+6
2008-07-26[PATCH] beginning of sysctl cleanup - ctl_table_setAl Viro1-1/+3
2008-07-18mib: add netns/mib.h filePavel Emelyanov1-0/+2
2008-06-28Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+11
2008-06-20netns: Don't receive new packets in a dead network namespace.Eric W. Biederman1-0/+11
2008-05-19netns: Introduce sysctl root for read-only net sysctls.Pavel Emelyanov1-0/+3
2008-04-16[NETNS]: Make netns refconting debug like a socket one.Denis V. Lunev1-16/+24
2008-04-15[NETNS]: The generic per-net pointers.Pavel Emelyanov1-0/+2
2008-04-15[NETNS]: The net-subsys IDs generator.Pavel Emelyanov1-0/+2
2008-04-13[NETNS]: Add an empty netns_dccp structure on struct net.Pavel Emelyanov1-0/+4
2008-04-03[NETNS]: Declare init_net even without CONFIG_NET defined.Denis V. Lunev1-1/+2
2008-04-02[NETNS]: Do not include net/net_namespace.h from seq_file.hDenis V. Lunev1-0/+2
2008-04-02[NETNS]: Merge ifdef CONFIG_NET in include/net/net_namespace.h.Denis V. Lunev1-8/+10
2008-03-31[NETNS]: Introduce a netns_core structure.Pavel Emelyanov1-4/+2
2008-03-26[NET] NETNS: Omit namespace comparision without CONFIG_NET_NS.YOSHIFUJI Hideaki1-0/+12
2008-03-07[NET]: Make /proc/net a symlink on /proc/self/net (v3)Pavel Emelyanov1-1/+0
2008-01-31[NETFILTER]: x_tables: per-netns xt_tablesAlexey Dobriyan1-0/+4
2008-01-28[NETNS]: Namespacing in the generic fib rules code.Denis V. Lunev1-0/+4
2008-01-28[NETNS][IPV6]: Add ipv6 structure for netns.Daniel Lezcano1-0/+4
2008-01-28[NETNS]: Add the netns_ipv4 structPavel Emelyanov1-0/+2
2008-01-28[NETNS]: separate af_packet netns dataDenis V. Lunev1-4/+2
2008-01-28[NETNS]: struct net content re-work (v3)Denis V. Lunev1-3/+3
2008-01-28[NET] sysctl: make sysctl_somaxconn per-namespacePavel Emelyanov1-0/+1
2008-01-28[NET] sysctl: make the sys.net.core sysctls per-namespacePavel Emelyanov1-0/+3
2008-01-28[UNIX]: Make the unix sysctl tables per-namespacePavel Emelyanov1-0/+3
2008-01-28[UNIX]: Move the sysctl_unix_max_dgram_qlenPavel Emelyanov1-0/+3
2008-01-28[NET]: Implement the per network namespace sysctl infrastructureEric W. Biederman1-0/+9
2008-01-28[NET]: Make AF_PACKET handle multiple network namespacesDenis V. Lunev1-0/+4
2008-01-28[NET]: Make rtnetlink infrastructure network namespace aware (v3)Denis V. Lunev1-0/+3
2007-11-13[NET]: Move unneeded data to initdata section.Denis V. Lunev1-0/+2
2007-11-01[NET]: Relax the reference counting of init_net_nsPavel Emelyanov1-8/+25
2007-10-26[NET]: Marking struct pernet_operations __net_initdata was inappropriateEric W. Biederman1-2/+0
2007-10-10[NETNS]: Move some code into __init section when CONFIG_NET_NS=nPavel Emelyanov1-0/+9
2007-10-10[NETNS]: Simplify the network namespace list locking rules.Eric W. Biederman1-3/+0
2007-10-10[NET]: Make the loopback device per network namespace.Eric W. Biederman1-0/+3
2007-10-10[NET]: Add network namespace clone & unshare support.Eric W. Biederman1-0/+18
2007-10-10[NET]: Fix race when opening a proc file while a network namespace is exiting.Eric W. Biederman1-0/+12