summaryrefslogtreecommitdiff
path: root/net/ipv4/inet_hashtables.c
AgeCommit message (Expand)AuthorFilesLines
2022-12-13Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-11-23dccp/tcp: Fixup bhash2 bucket when connect() fails.Kuniyuki Iwashima1-4/+34
2022-11-23dccp/tcp: Update saddr under bhash's lock.Kuniyuki Iwashima1-6/+39
2022-11-23dccp/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-12treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-10-04once: rename _SLOW to _SLEEPABLEJason A. Donenfeld1-2/+2
2022-10-03once: add DO_ONCE_SLOW() for sleepable contextsEric Dumazet1-2/+2
2022-09-29net: 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-25net: 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-09tcp: use alloc_large_system_hash() to allocate table_perturbMuchun Song1-4/+6
2022-05-21net: 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-13net: inet: Retire port only listening_hashMartin KaFai Lau1-38/+9
2022-05-13net: inet: Open code inet_hash2 and inet_unhash2Martin KaFai Lau1-55/+33
2022-05-13net: inet: Remove count from inet_listen_hashbucketMartin KaFai Lau1-6/+0
2022-05-05tcp: drop the hash_32() part from the index calculationWilly Tarreau1-1/+1
2022-05-05tcp: increase source port perturb table to 2^16Willy Tarreau1-4/+5
2022-05-05tcp: dynamically allocate the perturb table used by source portsWilly Tarreau1-2/+10
2022-05-05tcp: add small random increments to the source portWilly Tarreau1-4/+5
2022-05-05tcp: use different parts of the port_offset for index and offsetWilly Tarreau1-1/+1
2022-05-05secure_seq: use the 64 bits of the siphash for port offset calculationWilly Tarreau1-4/+6
2022-02-10tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.Sebastian Andrzej Siewior1-21/+32
2021-11-11bpf: 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-12tcp: add some entropy in __inet_hash_connect()Eric Dumazet1-0/+5
2021-02-12tcp: change source port randomizarion at connect() timeEric Dumazet1-3/+17
2020-11-24tcp: 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-12net: initialize fastreuse on inet_inherit_portTim Froidcoeur1-0/+1
2020-07-18inet: Run SK_LOOKUP BPF program on socket lookupJakub Sitnicki1-0/+31
2020-07-18inet: Extract helper for selecting socket from reuseport groupJakub Sitnicki1-9/+20
2019-12-14tcp/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-06net: 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-25net: dccp: fix kernel crash on module loadPeter Oskolkov1-8/+26
2018-12-18net: dccp: initialize (addr,port) listening hashtablePeter Oskolkov1-0/+1
2018-12-15net: tcp: prefer listeners bound to an addressPeter Oskolkov1-52/+8