summaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_hashtables.c
AgeCommit message (Expand)AuthorFilesLines
2023-01-19tcp: avoid the lookup process failing to get sk in ehash tableJason Xing1-2/+15
2022-12-30tcp: Add TIME_WAIT sockets in bhash2.Kuniyuki Iwashima1-3/+5
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-11-22dccp/tcp: Fixup bhash2 bucket when connect() fails.Kuniyuki Iwashima1-4/+34
2022-11-22dccp/tcp: Update saddr under bhash's lock.Kuniyuki Iwashima1-6/+39
2022-11-22dccp/tcp: Remove NULL check for prev_saddr in inet_bhash2_update_saddr().Kuniyuki Iwashima1-7/+4
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-11-16tcp: configurable source port perturb table sizeGleb Mazovetskiy1-5/+5
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-10-03once: rename _SLOW to _SLEEPABLEJason A. Donenfeld1-2/+2
2022-10-03once: add DO_ONCE_SLOW() for sleepable contextsEric Dumazet1-2/+2
2022-09-28net: Fix incorrect address comparison when searching for a bind2 bucketMartin KaFai Lau1-0/+10
2022-09-20tcp: Introduce optional per-netns ehash.Kuniyuki Iwashima1-0/+47
2022-09-20tcp: Access &tcp_hashinfo via net.Kuniyuki Iwashima1-1/+1
2022-09-20tcp: Set NULL to sk->sk_prot->h.hashinfo.Kuniyuki Iwashima1-7/+7
2022-09-20tcp: Clean up some functions.Kuniyuki Iwashima1-14/+15
2022-08-24net: Add a bhash2 table hashed by port and addressJoanne Koong1-13/+255
2022-06-16Revert "net: Add a second bind table hashed by port and address"Joanne Koong1-182/+11
2022-06-08tcp: use alloc_large_system_hash() to allocate table_perturbMuchun Song1-4/+6
2022-05-20net: Add a second bind table hashed by port and addressJoanne Koong1-11/+182
2022-05-16inet: rename INET_MATCH()Eric Dumazet1-4/+4
2022-05-16ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH()Eric Dumazet1-1/+1
2022-05-13inet: add READ_ONCE(sk->sk_bound_dev_if) in INET_MATCH()Eric Dumazet1-10/+5
2022-05-12net: inet: Retire port only listening_hashMartin KaFai Lau1-38/+9
2022-05-12net: inet: Open code inet_hash2 and inet_unhash2Martin KaFai Lau1-55/+33
2022-05-12net: inet: Remove count from inet_listen_hashbucketMartin KaFai Lau1-6/+0
2022-05-04tcp: drop the hash_32() part from the index calculationWilly Tarreau1-1/+1
2022-05-04tcp: increase source port perturb table to 2^16Willy Tarreau1-4/+5
2022-05-04tcp: dynamically allocate the perturb table used by source portsWilly Tarreau1-2/+10
2022-05-04tcp: add small random increments to the source portWilly Tarreau1-4/+5
2022-05-04tcp: use different parts of the port_offset for index and offsetWilly Tarreau1-1/+1
2022-05-04secure_seq: use the 64 bits of the siphash for port offset calculationWilly Tarreau1-4/+6
2022-02-09tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.Sebastian Andrzej Siewior1-21/+32
2021-11-10bpf: Add ingress_ifindex to bpf_sk_lookupMark Pashmfouroush1-4/+4
2021-10-15tcp: switch orphan_count to bare per-cpu countersEric Dumazet1-1/+1
2021-10-07net: prefer socket bound to interface when not in VRFMike Manning1-1/+3
2021-06-15tcp: Keep TCP_CLOSE sockets in the reuseport group.Kuniyuki Iwashima1-1/+1
2021-02-11tcp: add some entropy in __inet_hash_connect()Eric Dumazet1-0/+5
2021-02-11tcp: change source port randomizarion at connect() timeEric Dumazet1-3/+17
2020-11-23tcp: fix race condition when creating child sockets from syncookiesRicardo Dias1-8/+60
2020-08-31net: ipv4: remove unused arg exact_dif in compute_scoreMiaohe Lin1-4/+2
2020-08-11net: initialize fastreuse on inet_inherit_portTim Froidcoeur1-0/+1
2020-07-17inet: Run SK_LOOKUP BPF program on socket lookupJakub Sitnicki1-0/+31
2020-07-17inet: Extract helper for selecting socket from reuseport groupJakub Sitnicki1-9/+20
2019-12-13tcp/dccp: fix possible race __inet_lookup_established()Eric Dumazet1-8/+8
2019-10-30net: annotate accesses to sk->sk_incoming_cpuEric Dumazet1-1/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-05net: ipv4: drop unneeded likely() call around IS_ERR()Enrico Weigelt1-1/+1
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-8/+26