aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/inet_hashtables.c (follow)
AgeCommit message (Expand)AuthorFilesLines
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
2018-12-17net: dccp: initialize (addr,port) listening hashtablePeter Oskolkov1-0/+1
2018-12-14net: tcp: prefer listeners bound to an addressPeter Oskolkov1-52/+8
2018-11-07net: ensure unbound stream socket to be chosen when not in a VRFMike Manning1-8/+6
2018-11-07net: allow binding socket in a VRF when there's an unbound socketRobert Shearman1-5/+15
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-08-11bpf: Enable BPF_PROG_TYPE_SK_REUSEPORT bpf prog in reuseport selectionMartin KaFai Lau1-5/+9
2018-08-11bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORTMartin KaFai Lau1-2/+3
2018-06-20net/tcp: Fix socket lookups with SO_BINDTODEVICEDavid Ahern1-2/+2