summaryrefslogtreecommitdiff
path: root/net/ipv4/inet_hashtables.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-14tcp: Fix refcnt handling in __inet_hash_connect().Kuniyuki Iwashima1-1/+1
2024-03-08inet: move inet_ehash_secret and udp_ehash_secret into net_hotdataEric Dumazet1-2/+1
2024-02-16dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().Kuniyuki Iwashima1-1/+24
2023-12-23tcp: Remove dead code and fields for bhash2.Kuniyuki Iwashima1-2/+1
2023-12-23tcp: Link sk and twsk to tb2->owners using skc_bind_node.Kuniyuki Iwashima1-4/+4
2023-12-23tcp: Unlink sk from bhash.Kuniyuki Iwashima1-3/+0
2023-12-23tcp: Check hlist_empty(&tb->bhash2) instead of hlist_empty(&tb->owners).Kuniyuki Iwashima1-3/+3
2023-12-23tcp: Link bhash2 to bhash.Kuniyuki Iwashima1-10/+11
2023-12-23tcp: Rename tb in inet_bind2_bucket_(init|create)().Kuniyuki Iwashima1-16/+16
2023-12-23tcp: Save address type in inet_bind2_bucket.Kuniyuki Iwashima1-16/+13
2023-12-23tcp: Save v4 address as v4-mapped-v6 in inet_bind2_bucket.v6_rcv_saddr.Kuniyuki Iwashima1-17/+17
2023-12-23tcp: Rearrange tests in inet_bind2_bucket_(addr_match|match_addr_any)().Kuniyuki Iwashima1-13/+12
2023-12-23tcp: Use bhash2 for v4-mapped-v6 non-wildcard address.Kuniyuki Iwashima1-1/+2
2023-12-16tcp/dccp: change source port selection at connect() timeEric Dumazet1-11/+16
2023-11-10net: set SOCK_RCU_FREE before inserting socket into hashtableStanislav Fomichev1-1/+1
2023-10-13tcp: Fix listen() warning with v4-mapped-v6 address.Kuniyuki Iwashima1-15/+9
2023-09-13tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.Kuniyuki Iwashima1-1/+6
2023-09-13tcp: Fix bind() regression for v4-mapped-v6 wildcard address.Kuniyuki Iwashima1-1/+2
2023-09-13tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_a...Kuniyuki Iwashima1-15/+13
2023-07-31net: remove duplicate INDIRECT_CALLABLE_DECLARE of udp[6]_ehashfnLorenz Bauer1-2/+0
2023-07-25net: remove duplicate sk_lookup helpersLorenz Bauer1-13/+13
2023-07-25net: document inet[6]_lookup_reuseport sk_state requirementsLorenz Bauer1-0/+15
2023-07-25net: remove duplicate reuseport_lookup functionsLorenz Bauer1-7/+13
2023-07-25net: export inet_lookup_reuseport and inet6_lookup_reuseportLorenz Bauer1-7/+8
2023-07-20Revert "tcp: avoid the lookup process failing to get sk in ehash table"Kuniyuki Iwashima1-15/+2
2023-03-29ipv6: Remove in6addr_any alternatives.Kuniyuki Iwashima1-7/+4
2023-03-15tcp: Fix bind() conflict check for dual-stack wildcard address.Kuniyuki Iwashima1-1/+7
2023-01-26inet: Add IP_LOCAL_PORT_RANGE socket optionJakub Sitnicki1-1/+1
2023-01-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+15
2023-01-19tcp: avoid the lookup process failing to get sk in ehash tableJason Xing1-2/+15
2023-01-17inet: fix fast path in __inet_hash_connect()Pietro Borrello1-11/+1
2022-12-30tcp: Add TIME_WAIT sockets in bhash2.Kuniyuki Iwashima1-3/+5
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