aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_hashtables.h
AgeCommit message (Expand)AuthorFilesLines
2023-12-22tcp: Remove dead code and fields for bhash2.Kuniyuki Iwashima1-4/+0
2023-12-22tcp: Unlink sk from bhash.Kuniyuki Iwashima1-1/+0
2023-12-22tcp: Link bhash2 to bhash.Kuniyuki Iwashima1-1/+3
2023-12-22tcp: Save address type in inet_bind2_bucket.Kuniyuki Iwashima1-0/+1
2023-12-22tcp: Save v4 address as v4-mapped-v6 in inet_bind2_bucket.v6_rcv_saddr.Kuniyuki Iwashima1-7/+4
2023-08-15net: Fix slab-out-of-bounds in inet[6]_steal_sockLorenz Bauer1-1/+1
2023-08-04tcp/dccp: cache line align inet_hashinfoEric Dumazet1-1/+1
2023-07-25bpf, net: Support SO_REUSEPORT sockets with bpf_sk_assignLorenz Bauer1-2/+47
2023-07-25net: remove duplicate sk_lookup helpersLorenz Bauer1-0/+7
2023-07-25net: remove duplicate reuseport_lookup functionsLorenz Bauer1-5/+10
2023-07-25net: export inet_lookup_reuseport and inet6_lookup_reuseportLorenz Bauer1-0/+5
2022-12-30tcp: Add TIME_WAIT sockets in bhash2.Kuniyuki Iwashima1-0/+4
2022-11-22dccp/tcp: Fixup bhash2 bucket when connect() fails.Kuniyuki Iwashima1-0/+1
2022-11-22dccp/tcp: Update saddr under bhash's lock.Kuniyuki Iwashima1-1/+1
2022-09-28net: Fix incorrect address comparison when searching for a bind2 bucketMartin KaFai Lau1-0/+3
2022-09-20tcp: Introduce optional per-netns ehash.Kuniyuki Iwashima1-0/+6
2022-09-20tcp: Set NULL to sk->sk_prot->h.hashinfo.Kuniyuki Iwashima1-0/+10
2022-08-24net: Add a bhash2 table hashed by port and addressJoanne Koong1-2/+78
2022-07-29net: allow unbound socket for packets in VRF when tcp_l3mdev_accept setMike Manning1-16/+3
2022-07-15tcp: Fix data-races around sysctl_tcp_l3mdev_accept.Kuniyuki Iwashima1-1/+1
2022-06-16Revert "net: Add a second bind table hashed by port and address"Joanne Koong1-67/+1
2022-05-20net: Add a second bind table hashed by port and addressJoanne Koong1-1/+67
2022-05-16inet: rename INET_MATCH()Eric Dumazet1-1/+1
2022-05-13inet: add READ_ONCE(sk->sk_bound_dev_if) in INET_MATCH()Eric Dumazet1-19/+16
2022-05-12net: inet: Retire port only listening_hashMartin KaFai Lau1-40/+1
2022-05-12net: inet: Remove count from inet_listen_hashbucketMartin KaFai Lau1-1/+0
2022-05-04secure_seq: use the 64 bits of the siphash for port offset calculationWilly Tarreau1-1/+1
2021-07-23tcp: seq_file: Replace listening_hash with lhash2Martin KaFai Lau1-0/+6
2020-11-23tcp: fix race condition when creating child sockets from syncookiesRicardo Dias1-2/+3
2020-06-09dccp: Fix possible memleak in dccp_init and dccp_finiWang Hai1-0/+6
2020-03-30net: Track socket refcounts in skb_steal_sock()Joe Stringer1-2/+1
2019-12-13tcp/dccp: fix possible race __inet_lookup_established()Eric Dumazet1-3/+9
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2018-12-24net: dccp: fix kernel crash on module loadPeter Oskolkov1-0/+1
2018-11-07net: ensure unbound stream socket to be chosen when not in a VRFMike Manning1-0/+11
2018-11-07net: allow binding socket in a VRF when there's an unbound socketRobert Shearman1-7/+6
2017-12-03inet: Add a 2nd listener hashtable (port+addr)Martin KaFai Lau1-6/+22
2017-12-03inet: Add a count to struct inet_listen_hashbucketMartin KaFai Lau1-0/+1
2017-08-07net: ipv4: add second dif to inet socket lookupsDavid Ahern1-14/+17
2017-07-03net: make sk_ehashfn() staticEric Dumazet1-1/+0
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-2/+2
2017-01-18inet: reset tb->fastreuseport when adding a reuseport skJosef Bacik1-0/+9
2017-01-18inet: kill smallest_size and smallest_portJosef Bacik1-1/+0
2017-01-18inet: collapse ipv4/v6 rcv_saddr_equal functions into oneJosef Bacik1-4/+1
2016-04-04tcp/dccp: do not touch listener sk_refcnt under synfloodEric Dumazet1-16/+24
2016-04-04tcp/dccp: remove BH disable/enable in lookupEric Dumazet1-6/+1
2016-02-11soreuseport: fast reuseport TCP socket selectionCraig Gallek1-1/+4
2016-02-11inet: refactor inet[6]_lookup functions to take skbCraig Gallek1-6/+12
2016-02-11sock: struct proto hash function may errorCraig Gallek1-1/+1
2015-10-23tcp/dccp: fix hashdance race for passive sessionsEric Dumazet1-2/+2
2015-10-03tcp/dccp: install syn_recv requests into ehash tableEric Dumazet1-0/+1
2015-09-29inet: constify __inet_inherit_port() sock argumentEric Dumazet1-1/+1
2015-07-09inet: simplify timewait refcountingEric Dumazet1-2/+2
2015-05-26tcp: fix/cleanup inet_ehash_locks_alloc()Eric Dumazet1-44/+3
2015-05-21inet_hashinfo: remove bsocket counterEric Dumazet1-2/+0
2015-03-18inet: get rid of last __inet_hash_connect() argumentEric Dumazet1-3/+1
2015-03-18ipv6: get rid of __inet6_hash()Eric Dumazet1-0/+1
2015-03-18inet: add IPv6 support to sk_ehashfn()Eric Dumazet1-0/+19
2015-03-18net: introduce sk_ehashfn() helperEric Dumazet1-0/+2
2015-03-18netns: constify net_hash_mix() and various callersEric Dumazet1-3/+3
2015-03-12net: Introduce possible_net_tEric W. Biederman1-3/+1
2014-05-14net: Use a more standard macro for INET_ADDR_COOKIEJoe Perches1-3/+5
2013-10-08tcp/dccp: remove twchainEric Dumazet1-7/+2
2013-10-03inet: consolidate INET_TW_MATCHEric Dumazet1-18/+8
2013-09-21inet*.h: Remove extern from function prototypesJoe Perches1-36/+36
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-2/+2
2013-01-23soreuseport: TCP/IPv4 implementationTom Herbert1-3/+10
2012-12-02net: fix sparse endianness warnings on sock_commonEric Dumazet1-2/+0
2012-11-30net: move inet_dport/inet_num in sock_commonEric Dumazet1-22/+26
2012-06-19ipv4: Early TCP socket demux.David S. Miller1-2/+2
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-1/+1
2010-10-21tproxy: fix hash locking issue when using port redirection in __inet_inherit_...Balazs Scheidler1-1/+1
2009-12-08tcp: Fix a connect() race with timewait socketsEric Dumazet1-3/+5
2009-11-13inet: fix inet_bind_bucket_for_eachLucian Adrian Grijincu1-2/+2
2009-10-18inet: rename some inet_sock fieldsEric Dumazet1-6/+6
2009-10-13tcp: replace ehash_size by ehash_maskEric Dumazet1-2/+2
2009-06-03net: skb->dst accessorsEric Dumazet1-1/+1
2009-02-01net: move bsockets outside of read only beginning of struct inet_hashinfoEric Dumazet1-1/+2
2009-01-30Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2009-01-27net: wrong test in inet_ehash_locks_alloc()Eric Dumazet1-1/+1
2009-01-21inet: Allowing more than 64k connections and heavily optimize bind(0) time.Evgeniy Polyakov1-1/+2
2008-11-23net: Convert TCP/DCCP listening hash tables to use RCUEric Dumazet1-1/+8
2008-11-21net: use net_eq() in INET_MATCH and INET_TW_MATCHEric Dumazet1-4/+4
2008-11-20net: convert TCP/DCCP ehash rwlocks to spinlocksEric Dumazet1-7/+7
2008-11-20net: listening_hash get a spinlock per bucketEric Dumazet1-30/+15
2008-11-16net: Convert TCP & DCCP hash tables to use RCU / hlist_nullsEric Dumazet1-2/+2
2008-11-12net: ib_net pointer should depends on CONFIG_NET_NSEric Dumazet1-0/+7
2008-10-07inet: Don't lookup the socket if there's a socket attached to the skbKOVACS Krisztian1-3/+7
2008-10-07inet_hashtables: Add inet_lookup_skb helpersArnaldo Carvalho de Melo1-0/+14
2008-06-16netns: introduce the net_hash_mix "salt" for hashesPavel Emelyanov1-2/+3
2008-06-16inet: add struct net argument to inet_lhashfnPavel Emelyanov1-2/+2
2008-06-16inet: add struct net argument to inet_bhashfnPavel Emelyanov1-1/+2
2008-04-17[INET]: Uninline the __inet_inherit_port call.Pavel Emelyanov1-13/+1
2008-04-17[INET]: Drop the inet_inherit_port() call.Pavel Emelyanov1-7/+0
2008-03-26[NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-4/+4
2008-03-22[SOCK]: Add udp_hash member to struct proto.Pavel Emelyanov1-1/+1
2008-02-05[INET]: Fix accidentally broken inet(6)_hash_connect's port offset calculations.Pavel Emelyanov1-1/+1
2008-02-03[SOCK] proto: Add hashinfo member to struct protoArnaldo Carvalho de Melo1-42/+9
2008-01-31[NETNS]: Tcp-v4 sockets per-net lookup.Pavel Emelyanov1-21/+27
2008-01-31[NETNS]: Make bind buckets live in net namespaces.Pavel Emelyanov1-0/+2
2008-01-31[INET]: Consolidate inet(6)_hash_connect.Pavel Emelyanov1-0/+5
2008-01-28[NET]: prot_inuse cleanups and optimizationsEric Dumazet1-1/+1
2008-01-28[INET]: Uninline the __inet_lookup_established function.Pavel Emelyanov1-37/+3
2008-01-28[INET]: Uninline the __inet_hash function.Pavel Emelyanov1-26/+3
2007-11-26[IPV4]: Fix memory leak in inet_hashtables.h when NUMA is onPavel Emelyanov1-2/+1
2007-11-10[INET]: Add a missing include <linux/vmalloc.h> to inet_hashtables.hEric Dumazet1-0/+1
2007-11-07[INET]: Remove per bucket rwlock in tcp/dccp ehash table.Eric Dumazet1-6/+65
2007-10-25[UDP]: Make use of inet_iif() when doing socket lookups.Vlad Yasevich1-6/+0
2007-10-10[NET]: sparse warning fixesStephen Hemminger1-1/+1
2007-02-08[NET]: change layout of ehash tableEric Dumazet1-5/+5
2006-12-07[PATCH] slab: remove kmem_cache_tChristoph Lameter1-3/+3
2006-09-28[IPV4]: annotate inet_lookup() and friendsAl Viro1-10/+10
2006-09-28[IPV4]: INET_MATCH() annotationsAl Viro1-11/+25
2006-09-22[IPV4]: Use network-order dport for all visible inet_lookup_*Herbert Xu1-7/+24
2006-09-22[IPV4]: Uninline inet_lookup_listenerHerbert Xu1-31/+2
2006-04-26Don't include linux/config.h from anywhere else in include/David Woodhouse1-1/+0
2006-01-03[INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.hArnaldo Carvalho de Melo1-20/+1
2006-01-03[INET]: Generalise tcp_v4_hash_connectArnaldo Carvalho de Melo1-0/+3
2005-11-05[TCP/DCCP]: Randomize port selectionStephen Hemminger1-2/+0
2005-10-04[INET]: Shrink struct inet_ehash_bucket on 32 bits UPEric Dumazet1-1/+1
2005-10-03[INET]: speedup inet (tcp/dccp) lookupsEric Dumazet1-26/+38
2005-08-29[ICSK]: Generalise tcp_listen_{start,stop}Arnaldo Carvalho de Melo1-0/+6
2005-08-29[NET]: Introduce inet_connection_sockArnaldo Carvalho de Melo1-3/+3
2005-08-29[INET]: Generalise the TCP sock ID lookup routinesArnaldo Carvalho de Melo1-5/+72
2005-08-29[INET]: Generalise tcp_tw_bucket, aka TIME_WAIT socketsArnaldo Carvalho de Melo1-0/+41
2005-08-29[INET]: Generalise tcp_v4_lookup_listenerArnaldo Carvalho de Melo1-0/+36
2005-08-29[INET]: Generalise tcp_v4_hash & tcp_unhashArnaldo Carvalho de Melo1-0/+34
2005-08-29[TCP]: Move the tcp sock states to net/tcp_states.hArnaldo Carvalho de Melo1-1/+1
2005-08-29[INET]: Generalise the tcp_listen_ lock routinesArnaldo Carvalho de Melo1-0/+48
2005-08-29[INET]: Move tcp_port_rover to inet_hashinfoArnaldo Carvalho de Melo1-0/+1
2005-08-29[INET]: Generalise tcp_bind_hash & tcp_inherit_portArnaldo Carvalho de Melo1-0/+32
2005-08-29[INET]: Move the TCP hashtable functions/structs to inet_hashtables.[ch]Arnaldo Carvalho de Melo1-0/+122
2005-08-29[INET]: Move the TCP ehash functions to include/net/inet_hashtables.hArnaldo Carvalho de Melo1-0/+40