aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-29tcp: fix too slow tcp_rcvbuf_grow() actionEric Dumazet1-2/+9
2025-10-29tcp: add newval parameter to tcp_rcvbuf_grow()Eric Dumazet1-7/+7
2025-10-06tcp: Don't call reqsk_fastopen_remove() in tcp_conn_request().Kuniyuki Iwashima1-1/+0
2025-09-29tcp: make tcp_rcvbuf_grow() accessible to mptcp codePaolo Abeni1-1/+1
2025-09-29tcp: use skb->len instead of skb->truesize in tcp_can_ingest()Eric Dumazet1-2/+13
2025-09-22tcp: reclaim 8 bytes in struct request_sock_queueEric Dumazet1-2/+2
2025-09-22net: move sk->sk_err_soft and sk->sk_sndbufEric Dumazet1-1/+2
2025-09-18tcp: accecn: AccECN option ceb/cep and ACE field multi-wrap heuristicsIlpo Järvinen1-2/+34
2025-09-18tcp: accecn: AccECN option failure handlingChia-Yu Chang1-2/+33
2025-09-18tcp: accecn: AccECN option send controlChia-Yu Chang1-1/+3
2025-09-18tcp: accecn: AccECN optionIlpo Järvinen1-4/+90
2025-09-18tcp: accecn: AccECN needs to know delivered bytesIlpo Järvinen1-2/+12
2025-09-18tcp: accecn: add AccECN rx byte countersIlpo Järvinen1-3/+4
2025-09-18tcp: accecn: AccECN negotiationIlpo Järvinen1-10/+40
2025-09-18tcp: AccECN coreIlpo Järvinen1-8/+92
2025-09-15tcp: ecn functions in separated include fileChia-Yu Chang1-44/+1
2025-08-28net: add sk_drops_skbadd() helperEric Dumazet1-1/+1
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-3/+3
2025-08-22tcp: annotate data-races around tp->rx_opt.user_mssEric Dumazet1-4/+4
2025-07-22tcp: do not increment BeyondWindow MIB for old seqPaolo Abeni1-1/+5
2025-07-22tcp: do not set a zero size receive bufferPaolo Abeni1-0/+4
2025-07-16tcp: fix UaF in tcp_prune_ofo_queue()Paolo Abeni1-1/+1
2025-07-14tcp: stronger sk_rcvbuf checksEric Dumazet1-6/+16
2025-07-14tcp: add const to tcp_try_rmem_schedule() and sk_rmem_schedule() skbEric Dumazet1-1/+1
2025-07-14tcp: call tcp_measure_rcv_mss() for ooo packetsEric Dumazet1-0/+1
2025-07-14tcp: add LINUX_MIB_BEYOND_WINDOWEric Dumazet1-0/+1
2025-07-14tcp: do not accept packets beyond windowEric Dumazet1-5/+17
2025-07-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2025-07-09tcp: refine sk_rcvbuf increase for ooo packetsEric Dumazet1-1/+3
2025-07-08tcp: update the outdated ref draft-ietf-tcpm-rackXin Guo1-1/+1
2025-06-27tcp: fix tcp_ofo_queue() to avoid including too much DUP SACK rangexin.guo1-1/+2
2025-06-19tcp: tcp_time_to_recover() cleanupEric Dumazet1-5/+3
2025-06-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-12/+25
2025-06-18tcp: fix tcp_packet_delayed() for tcp_is_non_sack_preventing_reopen() behaviorNeal Cardwell1-12/+25
2025-06-17tcp: remove RFC3517/RFC6675 tcp_clear_retrans_hints_partial()Neal Cardwell1-2/+0
2025-06-17tcp: remove RFC3517/RFC6675 hint state: lost_skb_hint, lost_cnt_hintNeal Cardwell1-19/+0
2025-06-17tcp: remove obsolete and unused RFC3517/RFC6675 loss recovery codeNeal Cardwell1-127/+10
2025-05-15tcp: skip big rtt sample if receive queue is not emptyEric Dumazet1-0/+3
2025-05-15tcp: always seek for minimal rtt in tcp_rcv_rtt_update()Eric Dumazet1-14/+8
2025-05-15tcp: fix initial tp->rcvq_space.space value for passive TS enabled flowsEric Dumazet1-3/+3
2025-05-15tcp: remove zero TCP TS samples for autotuningEric Dumazet1-5/+5
2025-05-15tcp: add receive queue awareness in tcp_rcv_space_adjust()Eric Dumazet1-2/+4
2025-05-15tcp: adjust rcvbuf in presence of reordersEric Dumazet1-0/+4
2025-05-15tcp: fix sk_rcvbuf overshootEric Dumazet1-34/+25
2025-05-15tcp: add tcp_rcvbuf_grow() tracepointEric Dumazet1-0/+2
2025-03-31Revert "tcp: avoid atomic operations on sk->sk_rmem_alloc"Eric Dumazet1-3/+3
2025-03-25tcp: avoid atomic operations on sk->sk_rmem_allocEric Dumazet1-3/+3
2025-03-24tcp: move icsk_clean_acked to a better locationEric Dumazet1-6/+6
2025-03-18tcp: cache RTAX_QUICKACK metric in a hot cache lineEric Dumazet1-2/+1
2025-03-17tcp: helpers for ECN mode handlingIlpo Järvinen1-7/+7
2025-03-17tcp: rework {__,}tcp_ecn_check_ce() -> tcp_data_ecn_check()Ilpo Järvinen1-9/+6
2025-03-17tcp: create FLAG_TS_PROGRESSIlpo Järvinen1-9/+28
2025-03-17tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()Ilpo Järvinen1-24/+32
2025-03-03tcp: add a drop_reason pointer to tcp_check_req()Eric Dumazet1-3/+2
2025-02-26tcp: be less liberal in TSEcr received while in SYN_RECV stateEric Dumazet1-0/+1
2025-02-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+2
2025-02-20bpf: Prevent unsafe access to the sock fields in the BPF timestamping callbackJason Xing1-0/+2
2025-02-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+13
2025-02-20tcp: drop secpath at the same time as we currently drop dstSabrina Dubroca1-4/+4
2025-02-18tcp: adjust rcvq_space after updating scaling ratioJakub Kicinski1-3/+9
2025-02-18trace: tcp: Add tracepoint for tcp_cwnd_reduction()Breno Leitao1-0/+2
2025-02-14tcp: use EXPORT_IPV6_MOD[_GPL]()Eric Dumazet1-7/+7
2025-02-11tcp: add the ability to control max RTOEric Dumazet1-1/+1
2025-02-11tcp: use tcp_reset_xmit_timer()Eric Dumazet1-7/+5
2025-02-11tcp: add a @pace_delay parameter to tcp_reset_xmit_timer()Eric Dumazet1-2/+2
2025-02-11tcp: remove tcp_reset_xmit_timer() @max_when argumentEric Dumazet1-3/+2
2025-02-07tcp: rename inet_csk_{delete|reset}_keepalive_timer()Eric Dumazet1-3/+3
2025-02-07tcp: do not export tcp_parse_mss_option() and tcp_mtup_init()Eric Dumazet1-1/+0
2025-01-14tcp: add LINUX_MIB_PAWS_OLD_ACK SNMP counterEric Dumazet1-3/+4
2025-01-14tcp: add TCP_RFC7323_PAWS_ACK drop reasonEric Dumazet1-1/+9
2025-01-14tcp: add drop_reason support to tcp_disordered_ack()Eric Dumazet1-35/+44
2024-12-23net: fix memory leak in tcp_conn_request()Wang Liang1-0/+1
2024-11-03net: tcp: Add noinline_for_tracing annotation for tcp_drop_reason()Yafang Shao1-2/+2
2024-10-03tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits outNeal Cardwell1-2/+9
2024-10-03tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safeNeal Cardwell1-0/+13
2024-10-03tcp: fix to allow timestamp undo if no retransmits were sentNeal Cardwell1-2/+16
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-09-11net: add support for skbs with unreadable fragsMina Almasry1-3/+10
2024-08-14tcp: Update window clamping conditionSubash Abhinov Kasiviswanathan1-16/+12
2024-07-29tcp: Adjust clamping window for applications specifying SO_RCVBUFSubash Abhinov Kasiviswanathan1-7/+16
2024-07-25tcp: process the 3rd ACK with sk_socket for TFO/MPTCPMatthieu Baerts (NGI0)1-3/+0
2024-07-13tcp: Don't drop SYN+ACK for simultaneous connect().Kuniyuki Iwashima1-0/+9
2024-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+10
2024-07-05tcp: fix incorrect undo caused by DSACK of TLP retransmitNeal Cardwell1-1/+10
2024-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+8
2024-07-04tcp: Don't flag tcp_sk(sk)->rx_opt.saw_unknown for TCP AO.Kuniyuki Iwashima1-0/+7
2024-06-28UPSTREAM: tcp: fix DSACK undo in fast recovery to call tcp_try_to_open()Neal Cardwell1-1/+1
2024-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-12/+33
2024-06-25tcp: fix tcp_rcv_fastopen_synack() to enter TCP_CA_Loss for failed TFONeal Cardwell1-11/+27
2024-06-25Fix race for duplicate reqsk on identical SYNluoxuanqiang1-1/+6
2024-06-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2024-06-19tcp: use sk_skb_reason_drop to free rx packetsYan Zhai1-1/+1
2024-06-17tcp: clear tp->retrans_stamp in tcp_rcv_fastopen_synack()Eric Dumazet1-0/+1
2024-06-12net/tcp: Add tcp-md5 and tcp-ao tracepointsDmitry Safonov1-2/+6
2024-06-06tcp: move inet_reqsk_alloc() close to inet_reqsk_clone()Eric Dumazet1-25/+0
2024-06-04tcp: wrap mptcp and decrypted checks into tcp_skb_can_collapse_rx()Jakub Kicinski1-8/+3
2024-05-29tcp: add tcp_done_with_error() helperEric Dumazet1-11/+21
2024-05-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+1
2024-05-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2024-05-02tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV socketsEric Dumazet1-0/+2
2024-05-02tcp: Add new args for cong_control in tcp_congestion_opsMiao Xu1-1/+1
2024-04-30net: add <net/proto_memory.h>Eric Dumazet1-0/+1
2024-04-29Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+2
2024-04-25bpf: add mrtt and srtt as BPF_SOCK_OPS_RTT_CB argsPhilo Lu1-2/+2
2024-04-17tcp: accept bare FIN packets under memory pressureEric Dumazet1-1/+11
2024-04-09tcp: replace TCP_SKB_CB(skb)->tcp_tw_isn with a per-cpu fieldEric Dumazet1-10/+16
2024-04-09tcp: propagate tcp_tw_isn via an extra parameter to ->route_req()Eric Dumazet1-1/+1
2024-04-06net: skbuff: generalize the skb->decrypted bitJakub Kicinski1-9/+3
2024-04-05tcp: annotate data-races around tp->window_clampEric Dumazet1-7/+10
2024-04-01inet: preserve const qualifier in inet_csk()Eric Dumazet1-1/+1
2024-02-28tcp: add dropreasons in tcp_rcv_state_process()Jason Xing1-7/+12
2024-02-28tcp: add more specific possible drop reasons in tcp_rcv_synsent_state_process()Jason Xing1-1/+4
2024-02-16tcp: Spelling s/curcuit/circuit/Geert Uytterhoeven1-1/+1
2024-02-15tcp: no need to use acceptable for conn_requestJason Xing1-4/+1
2024-01-29net: tcp: accept old ack during closingMenglong Dong1-7/+11
2023-12-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+20
2023-12-08tcp: fix tcp_disordered_ack() vs usec TS resolutionEric Dumazet1-2/+20
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+8
2023-12-06tcp: do not accept ACK of bytes we never sentEric Dumazet1-1/+5
2023-12-06net/tcp: Don't store TCP-AO maclen on reqskDmitry Safonov1-2/+3
2023-12-01tcp: tcp_gro_dev_warn() cleanupEric Dumazet1-18/+11
2023-11-03tcp: fix fastopen code vs usec TSEric Dumazet1-3/+4
2023-10-27net/tcp: Add static_key for TCP-AODmitry Safonov1-14/+28
2023-10-27net/tcp: Add TCP-AO SNE supportDmitry Safonov1-0/+28
2023-10-27net/tcp: Wire TCP-AO to request socketsDmitry Safonov1-0/+15
2023-10-27net/tcp: Add tcp_parse_auth_options()Dmitry Safonov1-10/+29
2023-10-27net/tcp: Calculate TCP-AO traffic keysDmitry Safonov1-0/+2
2023-10-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+5
2023-10-23tcp: add support for usec resolution in TCP TS valuesEric Dumazet1-1/+4
2023-10-23tcp: add tcp_rtt_tsopt_us()Eric Dumazet1-20/+23
2023-10-23tcp: rename tcp_time_stamp() to tcp_time_stamp_ts()Eric Dumazet1-3/+3
2023-10-23tcp: rename tcp_skb_timestamp()Eric Dumazet1-1/+1
2023-10-23tcp: add tcp_time_stamp_ms() helperEric Dumazet1-1/+1
2023-10-22tcp: fix wrong RTO timeout when received SACK renegingFred Chen1-4/+5
2023-10-10tcp: change data receiver flowlabel after one dupDavid Morley1-3/+11
2023-10-10tcp: record last received ipv6 flowlabelDavid Morley1-0/+15
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+13
2023-10-04tcp: fix delayed ACKs for MSS boundary conditionNeal Cardwell1-0/+13
2023-10-01net: implement lockless SO_MAX_PACING_RATEEric Dumazet1-2/+2
2023-09-16tcp: new TCP_INFO stats for RTO eventsAananth V1-0/+15
2023-09-16tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKedAananth V1-4/+5
2023-09-12tcp: defer regular ACK while processing socket backlogEric Dumazet1-0/+8
2023-08-16inet: move inet->transparent to inet->inet_flagsEric Dumazet1-1/+1
2023-08-13net: tcp: allow zero-window ACK update the windowMenglong Dong1-1/+1
2023-08-13net: tcp: send zero-window ACK when no memoryMenglong Dong1-6/+12
2023-08-06tcp: set TCP_DEFER_ACCEPT locklesslyEric Dumazet1-1/+1
2023-08-06tcp: set TCP_LINGER2 locklesslyEric Dumazet1-1/+1
2023-08-04tcp: Update stale comment for MD5 in tcp_parse_options().Kuniyuki Iwashima1-3/+2
2023-07-20tcp: add TCP_OLD_SEQUENCE drop reasonEric Dumazet1-5/+11
2023-07-19tcp: tcp_enter_quickack_mode() should be staticEric Dumazet1-2/+1
2023-07-18tcp: get rid of sysctl_tcp_adv_win_scaleEric Dumazet1-7/+12
2023-07-03tcp: annotate data races in __tcp_oow_rate_limited()Eric Dumazet1-3/+9
2023-06-22tcp: fix comment typoYueh-Shun Li1-1/+1
2023-06-01tcp: fix mishandling when the sack compression is deferred.fuyuanli1-1/+1
2023-05-10tcp: add annotations around sk->sk_shutdown accessesEric Dumazet1-2/+2
2023-03-31tcp: Refine SYN handling for PAWS.Kuniyuki Iwashima1-0/+2
2023-03-18tcp: preserve const qualifier in tcp_sk()Eric Dumazet1-2/+2
2023-03-17tcp: annotate lockless access to sk->sk_errEric Dumazet1-3/+3
2023-03-17tcp: annotate lockless accesses to sk->sk_err_softEric Dumazet1-1/+1
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-24/+43
2022-11-22tcp: Fix build break when CONFIG_IPV6=nSaeed Mahameed1-1/+1
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld1-1/+1
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+2
2022-11-16tcp: annotate data-race around queue->synflood_warnedEric Dumazet1-1/+1
2022-11-14tcp: Add listening address to SYN flood messageJamie Bainbridge1-3/+11
2022-11-01tcp: refine tcp_prune_ofo_queue() logicEric Dumazet1-20/+31
2022-10-24tcp: fix indefinite deferral of RTO with SACK renegingNeal Cardwell1-1/+2
2022-09-06tcp: fix early ETIMEDOUT after spurious non-SACK RTONeal Cardwell1-7/+18
2022-08-31tcp: make global challenge ack rate limitation per net-ns and default disabledEric Dumazet1-10/+11
2022-08-31tcp: annotate data-race around challenge_timestampEric Dumazet1-2/+2
2022-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-19/+22
2022-07-25tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.Kuniyuki Iwashima1-1/+1
2022-07-25tcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns.Kuniyuki Iwashima1-1/+1
2022-07-25tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.Kuniyuki Iwashima1-1/+2
2022-07-25net: Fix data-races around sysctl_[rw]mem(_offset)?.Kuniyuki Iwashima1-6/+7
2022-07-25tcp: Fix data-races around sk_pacing_rate.Kuniyuki Iwashima1-2/+2
2022-07-22tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.Kuniyuki Iwashima1-1/+2
2022-07-22tcp: Fix a data-race around sysctl_tcp_min_rtt_wlen.Kuniyuki Iwashima1-1/+1
2022-07-22tcp: Fix a data-race around sysctl_tcp_challenge_ack_limit.Kuniyuki Iwashima1-1/+1
2022-07-22tcp: Fix data-races around sysctl_tcp_moderate_rcvbuf.Kuniyuki Iwashima1-1/+1
2022-07-22tcp: Fix a data-race around sysctl_tcp_frto.Kuniyuki Iwashima1-1/+1
2022-07-22tcp: Fix a data-race around sysctl_tcp_app_win.Kuniyuki Iwashima1-1/+1
2022-07-22tcp: Fix data-races around sysctl_tcp_dsack.Kuniyuki Iwashima1-2/+2
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-20/+31
2022-07-20tcp: Fix data-races around sysctl_tcp_max_reordering.Kuniyuki Iwashima1-2/+2
2022-07-20tcp: Fix a data-race around sysctl_tcp_stdurg.Kuniyuki Iwashima1-1/+1
2022-07-20tcp: Fix data-races around sysctl_tcp_recovery.Kuniyuki Iwashima1-1/+2
2022-07-20tcp: Fix data-races around sysctl knobs related to SYN option.Kuniyuki Iwashima1-3/+3
2022-07-18tcp: Fix data-races around sysctl_max_syn_backlog.Kuniyuki Iwashima1-2/+4
2022-07-18tcp: Fix data-races around sysctl_tcp_reordering.Kuniyuki Iwashima1-3/+7
2022-07-18tcp: Fix data-races around sysctl_tcp_syncookies.Kuniyuki Iwashima1-8/+12
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-07-13tcp: Fix data-races around sysctl_tcp_ecn.Kuniyuki Iwashima1-1/+1
2022-06-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-1/+2
2022-06-16bpf: Add helpers to issue and check SYN cookies in XDPMaxim Mikityanskiy1-1/+2
2022-06-10net: keep sk->sk_forward_alloc as small as possibleEric Dumazet1-4/+0
2022-06-10net: remove SK_MEM_QUANTUM and SK_MEM_QUANTUM_SHIFTEric Dumazet1-1/+1
2022-05-28tcp: fix tcp_mtup_probe_success vs wrong snd_cwndEric Dumazet1-4/+7
2022-05-19tcp: improve PRR loss recoveryYuchung Cheng1-5/+5