aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
AgeCommit message (Expand)AuthorFilesLines
7 daystcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV socketsEric Dumazet1-0/+2
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
2022-04-30tcp: drop skb dst in tcp_rcv_established()Eric Dumazet1-0/+1
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+13
2022-04-28tcp: fix F-RTO may not work correctly when receiving DSACKPengcheng Yang1-1/+2
2022-04-25tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWATEric Dumazet1-1/+11
2022-04-18tcp: fix signed/unsigned comparisonEric Dumazet1-2/+3
2022-04-17tcp: add drop reason support to tcp_ofo_queue()Eric Dumazet1-7/+2
2022-04-17tcp: add drop reasons to tcp_rcv_synsent_state_process()Eric Dumazet1-6/+9
2022-04-17tcp: make tcp_rcv_synsent_state_process() drop monitor friendEric Dumazet1-9/+8
2022-04-17tcp: add drop reason support to tcp_prune_ofo_queue()Eric Dumazet1-1/+2
2022-04-17tcp: add two drop reasons for tcp_ack()Eric Dumazet1-3/+4
2022-04-17tcp: add drop reasons to tcp_rcv_state_process()Eric Dumazet1-7/+17
2022-04-17tcp: make tcp_rcv_state_process() drop monitor friendlyEric Dumazet1-3/+7
2022-04-17tcp: add drop reason support to tcp_validate_incoming()Eric Dumazet1-1/+6
2022-04-17tcp: get rid of rst_seq_matchEric Dumazet1-8/+5
2022-04-17tcp: consume incoming skb leading to a resetEric Dumazet1-12/+16
2022-04-06tcp: add accessors to read/set tp->snd_cwndEric Dumazet1-18/+18
2022-02-20net: tcp: use tcp_drop_reason() for tcp_data_queue_ofo()Menglong Dong1-4/+6
2022-02-20net: tcp: use tcp_drop_reason() for tcp_data_queue()Menglong Dong1-2/+11
2022-02-20net: tcp: use tcp_drop_reason() for tcp_rcv_established()Menglong Dong1-2/+7
2022-02-20net: tcp: introduce tcp_drop_reason()Menglong Dong1-2/+8
2022-02-11net/smc: Limit SMC visits when handshake workqueue congestedD. Wythe1-1/+2
2022-02-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-02-02tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data()Eric Dumazet1-0/+2
2022-02-02tcp: Use BPF timeout setting for SYN ACK RTOAkhmat Karakotov1-3/+5
2022-01-09tcp: tcp_send_challenge_ack delete useless param `skb`Benjamin Yim1-5/+5
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-12-20inet: fully convert sk->sk_rx_dst to RCU rulesEric Dumazet1-1/+1
2021-11-16tcp: tp->urg_data is unlikely to be setEric Dumazet1-2/+2
2021-11-16tcp: annotate races around tp->urg_dataEric Dumazet1-2/+2
2021-09-30tcp: adjust rcv_ssthresh according to sk_reserved_memWei Wang1-2/+10
2021-09-30tcp: adjust sndbuf according to sk_reserved_memWei Wang1-2/+12
2021-09-24tcp: tracking packets with CE marks in BW rate sampleYuchung Cheng1-6/+5
2021-09-14tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()zhenggy1-1/+1
2021-07-27tcp: more accurately check DSACKs to grow RACK reordering windowNeal Cardwell1-1/+8
2021-07-27tcp: more accurately detect spurious TLP probesYuchung Cheng1-1/+4
2021-07-21tcp: tweak len/truesize ratio for coalesce candidatesEric Dumazet1-8/+30
2021-07-21tcp: avoid indirect call in tcp_new_space()Eric Dumazet1-1/+1
2021-07-09mptcp: avoid processing packet if a subflow resetJianguo Wu1-4/+15
2021-07-06tcp: fix tcp_init_transfer() to not reset icsk_ca_initializedNguyen Dinh Phi1-1/+1
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-06-03net: tcp better handling of reordering then loss casesYuchung Cheng1-19/+26
2021-05-14tcp: add tracepoint for checksum errorsJakub Kicinski1-0/+1
2021-03-11tcp: consider using standard rtx logic in tcp_rcv_fastopen_synack()Eric Dumazet1-6/+4
2021-02-15tcp: tcp_data_ready() must look at SOCK_DONEEric Dumazet1-1/+1
2021-02-12tcp: factorize logic into tcp_epollin_ready()Eric Dumazet1-9/+2
2021-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+8
2021-01-23tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPENPengcheng Yang1-4/+6
2021-01-23tcp: make TCP_USER_TIMEOUT accurate for zero window probesEnke Chen1-2/+2
2021-01-22tcp: add TTL to SCM_TIMESTAMPING_OPT_STATSYousuk Seung1-8/+8
2021-01-19tcp: fix TCP socket rehash stats mis-accountingYuchung Cheng1-3/+2
2021-01-18tcp: fix TCP_USER_TIMEOUT with zero windowEnke Chen1-0/+1
2020-12-14tcp: Add logic to check for SYN w/ data in tcp_simple_retransmitAlexander Duyck1-1/+16
2020-12-14tcp: parse mptcp options contained in reset packetsFlorian Westphal1-5/+8
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2020-12-08tcp: select sane initial rcvq_space.space for big MSSEric Dumazet1-1/+2
2020-12-03tcp: merge 'init_req' and 'route_req' functionsFlorian Westphal1-7/+2
2020-11-02tcp: avoid slow start during fast recovery on new lossesYuchung Cheng1-5/+4
2020-10-23tcp: Prevent low rmem stalls with SO_RCVLOWAT.Arjun Roy1-1/+2
2020-10-22tcp: fix to update snd_wl1 in bulk receiver fast pathNeal Cardwell1-0/+2
2020-10-13tcp: use semicolons rather than commas to separate statementsJulia Lawall1-1/+2
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-7/+25
2020-10-03tcp: account total lost packets properlyYuchung Cheng1-0/+10
2020-09-25tcp: consolidate tcp_mark_skb_lost and tcp_skb_mark_lostYuchung Cheng1-12/+2
2020-09-25tcp: simplify tcp_mark_skb_lostYuchung Cheng1-37/+22
2020-09-25tcp: move tcp_mark_skb_lostYuchung Cheng1-0/+14
2020-09-25tcp: consistently check retransmit hintYuchung Cheng1-7/+2
2020-09-24net: tcp: drop unused function argument from mptcp_incoming_optionsFlorian Westphal1-2/+2
2020-09-24tcp: skip DSACKs with dubious sequence rangesPriyaranjan Jha1-7/+25
2020-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+3
2020-09-14tcp: remove SOCK_QUEUE_SHRUNKEric Dumazet1-16/+7
2020-09-10tcp: Only init congestion control if not initialized alreadyNeal Cardwell1-1/+3
2020-09-10tcp: record received TOS value in the request socketWei Wang1-0/+1
2020-08-24tcp: bpf: Optionally store mac header in TCP_SAVE_SYNMartin KaFai Lau1-1/+13
2020-08-24bpf: tcp: Allow bpf prog to write and parse TCP header optionMartin KaFai Lau1-7/+13
2020-08-24bpf: tcp: Add bpf_skops_hdr_opt_len() and bpf_skops_write_hdr_opt()Martin KaFai Lau1-2/+3
2020-08-24bpf: tcp: Add bpf_skops_parse_hdr()Martin KaFai Lau1-0/+36
2020-08-24bpf: tcp: Add bpf_skops_established()Martin KaFai Lau1-4/+28
2020-08-24tcp: Add saw_unknown to struct tcp_options_receivedMartin KaFai Lau1-6/+16
2020-08-24tcp: Use a struct to represent a saved_synMartin KaFai Lau1-7/+9
2020-08-03tcp: apply a floor of 1 for RTT samples from TCP timestampsJianfeng Wang1-0/+2
2020-07-31tcp: syncookies: create mptcp request socket for ACK cookies with MPTCP optionFlorian Westphal1-3/+0
2020-07-31tcp: rename request_sock cookie_ts bit to syncookieFlorian Westphal1-2/+1
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+6
2020-07-23tcp: allow at most one TLP probe per flightYuchung Cheng1-5/+6
2020-07-17tcp: add SNMP counter for no. of duplicate segments reported by DSACKPriyaranjan Jha1-0/+1
2020-07-17tcp: fix segment accounting when DSACK range covers multiple segmentsPriyaranjan Jha1-36/+44
2020-07-13net: ipv4: kerneldoc fixesAndrew Lunn1-1/+0
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+2
2020-07-06Replace HTTP links with HTTPS ones: IPv*Alexander A. Klimov1-1/+1
2020-07-01tcp: fix SO_RCVLOWAT possible hangs under high mem pressureEric Dumazet1-0/+2
2020-06-30tcp: call tcp_ack_tstamp() when not fully ackedYousuk Seung1-2/+5
2020-06-27tcp: update delivered_ce with deliveredYousuk Seung1-8/+21
2020-06-27tcp: count sacked packets in tcp_sacktag_stateYousuk Seung1-0/+4
2020-06-27tcp: add ece_ack flag to reno sack functionsYousuk Seung1-10/+12
2020-06-27tcp: stamp SCM_TSTAMP_ACK later in tcp_clean_rtx_queue()Yousuk Seung1-2/+2
2020-06-25tcp: don't ignore ECN CWR on pure ACKDenis Kirjanov1-3/+11
2020-06-16tcp: grow window for OOO packets only for SACK flowsEric Dumazet1-2/+10
2020-05-29tcp: tcp_init_buffer_space can be staticFlorian Westphal1-1/+1
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+2
2020-05-12tcp: fix SO_RCVLOWAT hangs with fat skbsEric Dumazet1-1/+2
2020-05-07tcp: tcp_mark_head_lost is only valid for sack-tcpzhang kai1-25/+7
2020-05-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-7/+0
2020-05-06tcp: refine tcp_pacing_delay() for very low pacing ratesEric Dumazet1-2/+2
2020-04-30tcp: add hrtimer slack to sack compressionEric Dumazet1-2/+3
2020-04-30tcp: tcp_sack_new_ofo_skb() should be more conservativeEric Dumazet1-1/+11
2020-04-30tcp: add tp->dup_ack_counterEric Dumazet1-9/+27
2020-04-30mptcp: move option parsing into mptcp_incoming_options()Paolo Abeni1-4/+0
2020-04-30mptcp: consolidate synack processing.Paolo Abeni1-3/+0
2020-03-12inet: Use fallthrough;Joe Perches1-3/+3
2020-02-23tcp: fix TFO SYNACK undo to avoid double-timestamp-undoNeal Cardwell1-1/+5