aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-18net: psp: update the TCP MSS to reflect PSP packet overheadJakub Kicinski1-2/+2
2025-09-18tcp: add datapath logic for PSP with inline key exchangeJakub Kicinski1-1/+13
2025-09-18tcp: accecn: AccECN option send controlChia-Yu Chang1-0/+1
2025-09-18tcp: accecn: AccECN optionIlpo Järvinen1-0/+1
2025-09-18tcp: accecn: AccECN negotiationIlpo Järvinen1-2/+4
2025-09-11tcp: Free TCP-AO/TCP-MD5 info/keys without RCUDmitry Safonov1-2/+2
2025-09-11tcp: Destroy TCP-AO, TCP-MD5 keys in .sk_destruct()Dmitry Safonov1-25/+8
2025-09-01tcp: Remove sk->sk_prot->orphan_count.Kuniyuki Iwashima1-1/+0
2025-08-28net: add sk_drops_skbadd() helperEric Dumazet1-2/+2
2025-08-25tcp: Don't pass hashinfo to socket lookup helpers.Kuniyuki Iwashima1-11/+5
2025-08-25tcp: Remove timewait_sock_ops.twsk_destructor().Kuniyuki Iwashima1-1/+0
2025-08-25tcp: annotate data-races around icsk->icsk_probes_outEric Dumazet1-1/+1
2025-08-25tcp: annotate data-races around icsk->icsk_retransmitsEric Dumazet1-1/+1
2025-07-18net: track pfmemalloc drops via SKB_DROP_REASON_PFMEMALLOCJesper Dangaard Brouer1-11/+15
2025-07-17Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-69/+200
2025-07-14bpf: tcp: Avoid socket skips and repeats during iterationJordan Rife1-32/+115
2025-07-14bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch itemsJordan Rife1-10/+14
2025-07-14bpf: tcp: Get rid of st_bucket_doneJordan Rife1-8/+6
2025-07-14bpf: tcp: Make sure iter->batch always contains a full bucket snapshotJordan Rife1-32/+77
2025-07-14bpf: tcp: Make mem flags configurable through bpf_iter_tcp_realloc_batchJordan Rife1-4/+5
2025-07-02ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]Eric Dumazet1-1/+1
2025-07-02tcp: move tcp_memory_allocated into net_aligned_dataEric Dumazet1-1/+2
2025-06-27tcp: remove rtx_syn_ack fieldEric Dumazet1-1/+0
2025-06-23net: remove sock_i_uid()Eric Dumazet1-4/+4
2025-05-15tcp: increase tcp_limit_output_bytes default value to 4MBEric Dumazet1-2/+2
2025-04-10tcp: add TCP_RFC7323_TW_PAWS drop reasonJiayuan Chen1-1/+2
2025-03-25tcp/dccp: remove icsk->icsk_timeoutEric Dumazet1-2/+2
2025-03-24tcp/dccp: Remove inet_connection_sock_af_ops.addr2sockaddr().Kuniyuki Iwashima1-2/+0
2025-03-17tcp: add new TCP_TW_ACK_OOW state and allow ECN bits in TOSIlpo Järvinen1-6/+23
2025-03-17tcp: AccECN support to tcp_add_backlogIlpo Järvinen1-1/+2
2025-03-17tcp: extend TCP flags to allow AE bit/ACE fieldIlpo Järvinen1-1/+1
2025-03-03tcp: remove READ_ONCE(req->ts_recent)Eric Dumazet1-1/+1
2025-03-03tcp: convert to dev_net_rcu()Eric Dumazet1-6/+6
2025-03-03tcp: add a drop_reason pointer to tcp_check_req()Eric Dumazet1-1/+2
2025-02-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-02-20tcp: drop secpath at the same time as we currently drop dstSabrina Dubroca1-1/+1
2025-02-14inet: consolidate inet_csk_clone_lock()Eric Dumazet1-4/+0
2025-02-14tcp: use EXPORT_IPV6_MOD[_GPL]()Eric Dumazet1-24/+23
2025-02-11tcp: add tcp_rto_max_ms sysctlEric Dumazet1-0/+1
2025-02-11tcp: add the ability to control max RTOEric Dumazet1-1/+1
2025-02-11tcp: use tcp_reset_xmit_timer()Eric Dumazet1-2/+1
2025-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-01-08tcp: Annotate data-race around sk->sk_mark in tcp_v4_send_resetDaniel Borkmann1-1/+1
2024-12-11tcp: Add sysctl to configure TIME-WAIT reuse delayJakub Sitnicki1-1/+3
2024-12-11tcp: Measure TIME-WAIT reuse delay with millisecond precisionJakub Sitnicki1-2/+3
2024-11-03net/tcp: Add missing lockdep annotations for TCP-AO hlist traversalsDmitry Safonov1-1/+2
2024-10-14ipv4: tcp: give socket pointer to control skbsEric Dumazet1-2/+2
2024-10-04tcp: annotate data-races around icsk->icsk_pendingEric Dumazet1-4/+6
2024-09-11tcp: RX path for devmem TCPMina Almasry1-0/+16
2024-08-28tcp: annotate data-races around tcptw->tw_rcv_nxtEric Dumazet1-1/+1
2024-08-28tcp: remove volatile qualifier on tw_substateEric Dumazet1-2/+2
2024-08-26tcp: avoid reusing FIN_WAIT2 when trying to find port in connect() processJason Xing1-0/+3
2024-08-19tcp: prevent concurrent execution of tcp_sk_exit_batchFlorian Westphal1-0/+14
2024-06-24net/ipv4: Use nested-BH locking for ipv4_tcp_sk.Sebastian Andrzej Siewior1-4/+11
2024-06-19tcp: use sk_skb_reason_drop to free rx packetsYan Zhai1-3/+3
2024-06-12net/tcp: Use static_branch_tcp_{md5,ao} to drop ifdefsDmitry Safonov1-6/+2
2024-06-10net: tcp/dccp: prepare for tw_timer un-pinningValentin Schneider1-1/+1
2024-06-05tcp: add sysctl_tcp_rto_min_usKevin Yang1-0/+1
2024-06-05tcp: annotate data-races around tw->tw_ts_recent and tw->tw_ts_recent_stampEric Dumazet1-5/+7
2024-06-04tcp: wrap mptcp and decrypted checks into tcp_skb_can_collapse_rx()Jakub Kicinski1-2/+1
2024-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+1
2024-05-29tcp: fix races in tcp_v[46]_err()Eric Dumazet1-8/+3
2024-05-27tcp: reduce accepted window in NEW_SYN_RECV stateEric Dumazet1-6/+1
2024-05-23net: Add additional bit to support clockid_t timestamp typeAbhishek Chauhan1-0/+2
2024-05-13tcp: rstreason: handle timewait cases in the receive pathJason Xing1-1/+1
2024-05-09tcp: get rid of twsk_unique()Eric Dumazet1-1/+0
2024-05-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+7
2024-05-02tcp: Use refcount_inc_not_zero() in tcp_twsk_unique().Kuniyuki Iwashima1-1/+7
2024-04-26rstreason: make it work in trace worldJason Xing1-1/+1
2024-04-26tcp: support rstreason for passive resetJason Xing1-4/+7
2024-04-26rstreason: prepare for passive resetJason Xing1-5/+7
2024-04-25tcp: avoid premature drops in tcp_add_backlog()Eric Dumazet1-2/+11
2024-04-12tcp: small optimization when TCP_TW_SYN is processedEric Dumazet1-1/+1
2024-04-09tcp: replace TCP_SKB_CB(skb)->tcp_tw_isn with a per-cpu fieldEric Dumazet1-2/+3
2024-04-09tcp: propagate tcp_tw_isn via an extra parameter to ->route_req()Eric Dumazet1-1/+2
2024-04-06net: skbuff: generalize the skb->decrypted bitJakub Kicinski1-3/+1
2024-04-03trace: tcp: fully support trace_tcp_send_resetJason Xing1-4/+3
2024-04-01tcp/dccp: do not care about families in inet_twsk_purge()Eric Dumazet1-1/+1
2024-02-28tcp: make dropreason in tcp_child_process() workJason Xing1-5/+7
2024-02-28tcp: make the dropreason really work when calling tcp_rcv_state_process()Jason Xing1-1/+2
2024-02-28tcp: directly drop skb in cookie check for ipv4Jason Xing1-1/+1
2023-12-06net/tcp: Consistently align TCP-AO option in the headerDmitry Safonov1-2/+2
2023-10-27net/tcp: Wire up l3index to TCP-AODmitry Safonov1-3/+7
2023-10-27net/tcp: Add static_key for TCP-AODmitry Safonov1-11/+14
2023-10-27net/tcp: Ignore specific ICMPs for TCP-AO connectionsDmitry Safonov1-0/+7
2023-10-27net/tcp: Add TCP-AO SNE supportDmitry Safonov1-1/+2
2023-10-27net/tcp: Add TCP-AO segments countersDmitry Safonov1-1/+1
2023-10-27net/tcp: Verify inbound TCP-AO signed segmentsDmitry Safonov1-5/+5
2023-10-27net/tcp: Sign SYN-ACK segments with TCP-AODmitry Safonov1-0/+1
2023-10-27net/tcp: Wire TCP-AO to request socketsDmitry Safonov1-8/+58
2023-10-27net/tcp: Add TCP-AO sign to twskDmitry Safonov1-19/+73
2023-10-27net/tcp: Add AO sign to RST packetsDmitry Safonov1-13/+56
2023-10-27net/tcp: Add tcp_parse_auth_options()Dmitry Safonov1-5/+10
2023-10-27net/tcp: Add TCP-AO sign to outgoing packetsDmitry Safonov1-0/+1
2023-10-27net/tcp: Calculate TCP-AO traffic keysDmitry Safonov1-0/+1
2023-10-27net/tcp: Prevent TCP-MD5 with TCP-AO being setDmitry Safonov1-3/+11
2023-10-27net/tcp: Introduce TCP_AO setsockopt()sDmitry Safonov1-2/+8
2023-10-27net/tcp: Prepare tcp_md5sig_pool for TCP-AODmitry Safonov1-41/+56
2023-10-23tcp: add support for usec resolution in TCP TS valuesEric Dumazet1-0/+1
2023-10-23tcp: replace tcp_time_stamp_raw()Eric Dumazet1-2/+2
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2023-10-19tcp: check mptcp-level constraints for backlog coalescingPaolo Abeni1-0/+1
2023-10-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+1
2023-10-16tcp: Set pingpong threshold via sysctlHaiyang Zhang1-0/+2
2023-10-11bpf: Propagate modified uaddrlen from cgroup sockaddr programsDaan De Meyer1-1/+1
2023-10-01inet: implement lockless IP_TOSEric Dumazet1-4/+5
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet1-1/+1
2023-09-12tcp: defer regular ACK while processing socket backlogEric Dumazet1-0/+1
2023-08-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2023-08-20ipv4: fix data-races around inet->inet_idEric Dumazet1-2/+2
2023-08-16inet: move inet->recverr to inet->inet_flagsEric Dumazet1-3/+2
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2023-07-29net: annotate data-races around sk->sk_priorityEric Dumazet1-1/+1
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+6
2023-07-20tcp: annotate data-races around tp->tsoffsetEric Dumazet1-2/+3
2023-07-18tcp: annotate data-races around tcp_rsk(req)->ts_recentEric Dumazet1-1/+1
2023-07-18tcp: annotate data-races around tcp_rsk(req)->txhashEric Dumazet1-1/+2
2023-07-12tcp: add a scheduling point in established_get_first()Jian Wen1-0/+3
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-1/+0
2023-06-17tcp: enforce receive buffer memory limits by allowing the tcp window to shrinkmfreemon@cloudflare.com1-0/+2
2023-06-08ipv4, ipv6: Use splice_eof() to flushDavid Howells1-0/+1
2023-05-26Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-4/+3
2023-05-25net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECVAntoine Tenart1-5/+9
2023-05-19bpf: Add bpf_sock_destroy kfuncAditi Ghag1-1/+1
2023-05-19bpf: tcp: Avoid taking fast sock lock in iteratorAditi Ghag1-3/+2
2023-05-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2023-05-12tcp: fix possible sk_priority leak in tcp_v4_send_reset()Eric Dumazet1-2/+3
2023-05-11tcp: make the first N SYN RTO backoffs linearDavid Morley1-0/+1
2023-04-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2023-03-28bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcpMartin KaFai Lau1-2/+2
2023-03-17tcp: annotate lockless access to sk->sk_errEric Dumazet1-2/+2
2023-03-17tcp: annotate lockless accesses to sk->sk_err_softEric Dumazet1-3/+3
2023-02-02tcp: add TCP_MINTTL drop reasonEric Dumazet1-0/+1
2022-12-02tcp: use 2-arg optimal variant of kfree_rcu()Eric Dumazet1-2/+2
2022-12-01net/tcp: Do cleanup on tcp_md5_key_copy() failureDmitry Safonov1-7/+2
2022-12-01net/tcp: Disable TCP-MD5 static key on tcp_md5sig_info destructionDmitry Safonov1-13/+58
2022-12-01net/tcp: Separate tcp_md5sig_info allocation into tcp_md5sig_info_add()Dmitry Safonov1-9/+21
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-16/+5
2022-11-22dccp/tcp: Fixup bhash2 bucket when connect() fails.Kuniyuki Iwashima1-2/+1
2022-11-22dccp/tcp: Update saddr under bhash's lock.Kuniyuki Iwashima1-16/+4
2022-11-22dccp/tcp: Reset saddr on failure after inet6?_hash_connect().Kuniyuki Iwashima1-0/+2
2022-11-14ipasdv4/tcp_ipv4: remove redundant assignmentxu xin1-1/+0
2022-10-28tcp: add PLB functionality for TCPMubashir Adnan Qureshi1-1/+1
2022-10-28tcp: add sysctls for TCP PLB parametersMubashir Adnan Qureshi1-0/+8
2022-10-24tcp: fix a signed-integer-overflow bug in tcp_add_backlog()Lu Wei1-1/+3
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 1Jason A. Donenfeld1-2/+2
2022-09-20tcp: Introduce optional per-netns ehash.Kuniyuki Iwashima1-6/+32
2022-09-20tcp: Save unnecessary inet_twsk_purge() calls.Kuniyuki Iwashima1-1/+1
2022-09-20tcp: Access &tcp_hashinfo via net.Kuniyuki Iwashima1-29/+43
2022-09-20tcp: Set NULL to sk->sk_prot->h.hashinfo.Kuniyuki Iwashima1-1/+1
2022-09-20tcp: Don't allocate tcp_death_row outside of struct netns_ipv4.Kuniyuki Iwashima1-12/+7
2022-09-20tcp: Clean up some functions.Kuniyuki Iwashima1-9/+9
2022-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+4
2022-08-31tcp: make global challenge ack rate limitation per net-ns and default disabledEric Dumazet1-2/+4
2022-08-24net: Add a bhash2 table hashed by port and addressJoanne Koong1-2/+21
2022-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-07-25tcp: Fix data-races around sysctl_tcp_reflect_tos.Kuniyuki Iwashima1-2/+2
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-07-18tcp: Fix a data-race around sysctl_tcp_tw_reuse.Kuniyuki Iwashima1-1/+1
2022-07-11net: Find dst with sk's xfrm policy not ctl_sksewookseo1-0/+2
2022-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+5
2022-06-24tcp: add a missing nf_reset_ct() in 3WHS handlingEric Dumazet1-1/+5
2022-06-10net: add per_cpu_fw_alloc field to struct protoEric Dumazet1-0/+3
2022-05-30net: ipv4: Avoid bounds check warninghuhai1-2/+2
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-05-16net: tcp: reset 'drop_reason' to NOT_SPCIFIED in tcp_v{4,6}_rcv()Menglong Dong1-0/+1
2022-05-13Revert "tcp/dccp: get rid of inet_twsk_purge()"Eric Dumazet1-0/+2
2022-05-12net: inet: Retire port only listening_hashMartin KaFai Lau1-12/+9
2022-04-26net: generalize skb freeing deferral to per-cpu listsEric Dumazet1-1/+0
2022-04-22ipv4: Avoid using RTO_ONLINK with ip_route_connect().Guillaume Nault1-3/+2
2022-04-06tcp: add accessors to read/set tp->snd_cwndEric Dumazet1-1/+1
2022-03-09tcp: adjust TSO packet sizes based on min_rttEric Dumazet1-0/+1
2022-03-09skb: make drop reason booleanableJakub Kicinski1-5/+7
2022-02-24net/tcp: Merge TCP-MD5 inbound callbacksDmitry Safonov1-73/+5
2022-02-20net: tcp: use kfree_skb_reason() for tcp_v{4,6}_do_rcv()Menglong Dong1-1/+4
2022-02-20net: tcp: add skb drop reasons to tcp_add_backlog()Menglong Dong1-2/+5
2022-02-20net: tcp: add skb drop reasons to tcp_v{4,6}_inbound_md5_hash()Menglong Dong1-4/+9
2022-02-20net: tcp: add skb drop reasons to tcp_v4_rcv()Menglong Dong1-1/+6
2022-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-01-27Merge tag 'net-5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+1
2022-01-27net: socket: rename SKB_DROP_REASON_SOCKET_FILTERMenglong Dong1-1/+1
2022-01-26tcp: allocate tcp_death_row outside of struct netns_ipv4Eric Dumazet1-3/+11
2022-01-25ipv4/tcp: do not use per netns ctl socketsEric Dumazet1-34/+27
2022-01-25tcp/dccp: get rid of inet_twsk_purge()Eric Dumazet1-2/+0
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-1/+1
2022-01-09net: skb: use kfree_skb_reason() in tcp_v4_rcv()Menglong Dong1-3/+11
2022-01-06net: bpf: Handle return value of BPF_CGROUP_RUN_PROG_INET{4,6}_POST_BIND()Menglong Dong1-0/+1
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+7
2021-12-20inet: fully convert sk->sk_rx_dst to RCU rulesEric Dumazet1-4/+7
2021-11-16tcp: defer skb freeing after socket lock is releasedEric Dumazet1-0/+1
2021-11-16net: remove sk_route_nocapsEric Dumazet1-2/+2
2021-11-16tcp: minor optimization in tcp_add_backlog()Eric Dumazet1-3/+2
2021-10-25ipv4: guard IP_MINTTL with a static keyEric Dumazet1-8/+12
2021-10-25ipv4: annotate data races arount inet->min_ttlEric Dumazet1-2/+5
2021-10-25tcp: move inet->rx_dst_ifindex to sk->sk_rx_dst_ifindexEric Dumazet1-3/+3
2021-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-13/+32
2021-10-15tcp: md5: Allow MD5SIG_FLAG_IFINDEX with ifindex=0Leonard Crestez1-10/+16
2021-10-15tcp: md5: Fix overlap between vrf and non-vrf keysLeonard Crestez1-3/+16
2021-09-23tcp: remove sk_{tr}x_skb_cacheEric Dumazet1-6/+0