aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-06tcp: take care of zero tp->window_clamp in tcp_set_rcvlowat()Eric Dumazet1-1/+4
2025-09-22tcp: move tcp_clean_acked to tcp_sock_read_tx groupEric Dumazet1-3/+3
2025-09-22tcp: move tcp->rcv_tstamp to tcp_sock_write_txrx groupEric Dumazet1-1/+1
2025-09-22tcp: remove CACHELINE_ASSERT_GROUP_SIZE() usesEric Dumazet1-12/+0
2025-09-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+5
2025-09-18tcp: add datapath logic for PSP with inline key exchangeJakub Kicinski1-0/+2
2025-09-18tcp: accecn: AccECN option failure handlingChia-Yu Chang1-0/+3
2025-09-18tcp: accecn: AccECN option send controlChia-Yu Chang1-1/+4
2025-09-18tcp: accecn: AccECN optionIlpo Järvinen1-1/+14
2025-09-18tcp: accecn: add AccECN rx byte countersIlpo Järvinen1-1/+2
2025-09-18tcp: accecn: AccECN negotiationIlpo Järvinen1-0/+1
2025-09-18tcp: AccECN coreIlpo Järvinen1-1/+4
2025-09-17tcp: Clear tcp_sk(sk)->fastopen_rsk in tcp_disconnect().Kuniyuki Iwashima1-0/+5
2025-09-15tcp: reorganize tcp_sock_write_txrx group for variables laterChia-Yu Chang1-2/+2
2025-09-11tcp: Free TCP-AO/TCP-MD5 info/keys without RCUDmitry Safonov1-14/+3
2025-09-11tcp: Destroy TCP-AO, TCP-MD5 keys in .sk_destruct()Dmitry Safonov1-0/+27
2025-09-11net: devmem: expose tcp_recvmsg_locked errorsStanislav Fomichev1-2/+2
2025-09-04tcp: use tcp_eat_recv_skb in __tcp_close()Eric Dumazet1-2/+2
2025-09-04tcp: fix __tcp_close() to only send RST when requiredEric Dumazet1-4/+5
2025-09-01tcp: Remove sk->sk_prot->orphan_count.Kuniyuki Iwashima1-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-1/+2
2025-08-22tcp: lockless TCP_MAXSEG optionEric Dumazet1-4/+2
2025-08-22tcp: annotate data-races around tp->rx_opt.user_mssEric Dumazet1-3/+5
2025-07-21tcp: add tcp_sock_set_maxsegGeliang Tang1-9/+14
2025-07-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-07-08net: splice: Drop unused @gfpMichal Luczaj1-2/+1
2025-07-08tcp: Correct signedness in skb remaining space calculationJiayuan Chen1-1/+1
2025-07-02tcp: move tcp_memory_allocated into net_aligned_dataEric Dumazet1-2/+0
2025-06-17net: tcp: tsq: Convert from tasklet to BH workqueueTejun Heo1-1/+1
2025-06-17tcp: remove RFC3517/RFC6675 hint state: lost_skb_hint, lost_cnt_hintNeal Cardwell1-2/+1
2025-05-27net: devmem: preserve sockc_errMina Almasry1-14/+10
2025-05-15tcp: increase tcp_rmem[2] to 32 MBEric Dumazet1-1/+1
2025-05-13net: devmem: Implement TX pathMina Almasry1-8/+40
2025-04-24tcp: fastopen: pass TFO child indication through getsockoptJeremy Harris1-0/+2
2025-04-24tcp: fastopen: note that a child socket was createdJeremy Harris1-0/+1
2025-04-10trace: tcp: Add tracepoint for tcp_sendmsg_locked()Breno Leitao1-0/+2
2025-03-31Revert "tcp: avoid atomic operations on sk->sk_rmem_alloc"Eric Dumazet1-16/+2
2025-03-25tcp: avoid atomic operations on sk->sk_rmem_allocEric Dumazet1-2/+16
2025-03-25tcp: support TCP_DELACK_MAX_US for set/getsockopt useJason Xing1-1/+12
2025-03-25tcp: support TCP_RTO_MIN_US for set/getsockopt useJason Xing1-1/+12
2025-03-24tcp: move icsk_clean_acked to a better locationEric Dumazet1-0/+5
2025-03-17tcp: helpers for ECN mode handlingIlpo Järvinen1-1/+1
2025-03-06tcp: clamp window like before the cleanupMatthieu Baerts (NGI0)1-6/+6
2025-03-03tcp: tcp_set_window_clamp() cleanupEric Dumazet1-18/+18
2025-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-21/+34
2025-02-27Merge tag 'net-6.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-16/+10
2025-02-25tcp: devmem: don't write truncated dmabuf CMSGs to userspaceStanislav Fomichev1-16/+10
2025-02-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+5
2025-02-20bpf: Add BPF_SOCK_OPS_TSTAMP_SENDMSG_CB callbackJason Xing1-0/+4
2025-02-20bpf: Add BPF_SOCK_OPS_TSTAMP_ACK_CB callbackJason Xing1-1/+1
2025-02-18tcp: only initialize sockcm tsflags fieldWillem de Bruijn1-1/+1
2025-02-14tcp: use EXPORT_IPV6_MOD[_GPL]()Eric Dumazet1-22/+22
2025-02-11tcp: add tcp_rto_max_ms sysctlEric Dumazet1-3/+3
2025-02-11tcp: add the ability to control max RTOEric Dumazet1-0/+12
2025-02-07tcp: rename inet_csk_{delete|reset}_keepalive_timer()Eric Dumazet1-2/+2
2025-02-06net: prepare for non devmem TCP memory providersPavel Begunkov1-0/+5
2025-02-06net: prefix devmem specific helpersPavel Begunkov1-1/+1
2025-01-29bpf: Fix wrong copied_seq calculationJiayuan Chen1-5/+24
2024-10-31tcp: only release congestion control if it has been initializedPengcheng Yang1-1/+1
2024-10-04net_tstamp: add SCM_TS_OPT_ID for RAW socketsVadim Fedorenko1-3/+4
2024-09-11tcp: RX path for devmem TCPMina Almasry1-5/+252
2024-09-11net: add support for skbs with unreadable fragsMina Almasry1-0/+3
2024-09-11net: support non paged skb fragsMina Almasry1-0/+3
2024-09-10net-timestamp: introduce SOF_TIMESTAMPING_OPT_RX_FILTER flagJason Xing1-2/+7
2024-08-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+11
2024-08-27tcp: fix forever orphan socket caused by tcp_abortXueming Feng1-7/+11
2024-08-07tcp: rstreason: introduce SK_RST_REASON_TCP_DISCONNECT_WITH_DATA for active r...Jason Xing1-1/+2
2024-08-07tcp: rstreason: introduce SK_RST_REASON_TCP_STATE for active resetJason Xing1-4/+6
2024-08-07tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_MEMORY for active resetJason Xing1-1/+1
2024-08-07tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_LINGER for active resetJason Xing1-1/+1
2024-08-07tcp: rstreason: introduce SK_RST_REASON_TCP_ABORT_ON_CLOSE for active resetJason Xing1-1/+1
2024-06-12net/tcp: Remove tcp_hash_fail()Dmitry Safonov1-25/+0
2024-06-12net/tcp: Add tcp-md5 and tcp-ao tracepointsDmitry Safonov1-0/+17
2024-06-12net/tcp: Move tcp_inbound_hash() from headersDmitry Safonov1-2/+72
2024-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+8
2024-06-06net: use unrcu_pointer() helperEric Dumazet1-1/+1
2024-06-05tcp: add sysctl_tcp_rto_min_usKevin Yang1-1/+3
2024-06-05tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTABJason Xing1-1/+5
2024-06-04net: tls: fix marking packets as decryptedJakub Kicinski1-0/+3
2024-05-29tcp: fix races in tcp_abort()Eric Dumazet1-5/+1
2024-05-29tcp: add tcp_done_with_error() helperEric Dumazet1-1/+1
2024-05-13tcp: socket option to check for MPTCP fallback to TCPMatthieu Baerts (NGI0)1-0/+3
2024-05-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2024-05-02tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV socketsEric Dumazet1-2/+2
2024-04-30net: add <net/proto_memory.h>Eric Dumazet1-0/+1
2024-04-30tcp: move tcp_out_of_memory() to net/ipv4/tcp.cEric Dumazet1-1/+9
2024-04-30net: move sysctl_max_skb_frags to net_hotdataEric Dumazet1-1/+2
2024-04-26rstreason: prepare for active resetJason Xing1-5/+10
2024-04-11tcp: add support for SO_PEEK_OFF socket optionJon Maloy1-6/+10
2024-04-10tcp: tweak tcp_sock_write_txrx size assertionEric Dumazet1-1/+5
2024-04-09tcp: replace TCP_SKB_CB(skb)->tcp_tw_isn with a per-cpu fieldEric Dumazet1-0/+3
2024-04-08tcp: more struct tcp_sock adjustmentsEric Dumazet1-4/+4
2024-04-05tcp: annotate data-races around tp->window_clampEric Dumazet1-4/+4
2024-03-25tcp: properly terminate timers for kernel socketsEric Dumazet1-0/+2
2024-03-11tcp: annotate a data-race around sysctl_tcp_wmem[0]Jason Xing1-1/+1
2024-03-11tcp: fix incorrect parameter validation in the do_tcp_getsockopt() functionGavrilov Ilia1-2/+2
2024-03-07net: introduce include/net/rps.hEric Dumazet1-0/+1
2024-03-04tcp: align tcp_sock_write_rx groupEric Dumazet1-1/+1
2024-02-12tcp: move tp->scaling_ratio to tcp_sock_read_txrx groupEric Dumazet1-1/+2
2024-01-29tcp: add sanity checks to rx zerocopyEric Dumazet1-1/+11
2024-01-23tcp: Add memory barrier to tcp_push()Salvatore Dipietro1-0/+1
2024-01-11Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+94
2024-01-08Merge tag 'vfs-6.8.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+4
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+25
2023-12-06net/tcp: Limit TCP_AO_REPAIR to non-listen socketsDmitry Safonov1-0/+6
2023-12-05tcp: reorganize tcp_sock fast path variablesCoco Li1-0/+93
2023-12-05tcp: fix mid stream window clamp.Paolo Abeni1-3/+19
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-4/+4
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-4/+2
2023-12-04tcp: Dump bound-only sockets in inet_diag.Guillaume Nault1-0/+1
2023-10-27net/tcp: Add TCP_AO_REPAIRDmitry Safonov1-7/+17
2023-10-27net/tcp: Add TCP-AO getsockopt()sDmitry Safonov1-0/+13
2023-10-27net/tcp: Add tcp_hash_fail() ratelimited logsDmitry Safonov1-10/+13
2023-10-27net/tcp: Verify inbound TCP-AO signed segmentsDmitry Safonov1-31/+8
2023-10-27net/tcp: Add tcp_parse_auth_options()Dmitry Safonov1-1/+2
2023-10-27net/tcp: Introduce TCP_AO setsockopt()sDmitry Safonov1-0/+17
2023-10-27net/tcp: Prepare tcp_md5sig_pool for TCP-AODmitry Safonov1-117/+28
2023-10-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+5
2023-10-23tcp: add TCPI_OPT_USEC_TSEric Dumazet1-0/+2
2023-10-23tcp: add support for usec resolution in TCP TS valuesEric Dumazet1-4/+14
2023-10-23tcp: replace tcp_time_stamp_raw()Eric Dumazet1-2/+2
2023-10-23tcp: introduce tcp_clock_ms()Eric Dumazet1-4/+2
2023-10-20net: do not leave an empty skb in write queueEric Dumazet1-3/+5
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+8
2023-10-13tcp: allow again tcp_disconnect() when threads are waitingPaolo Abeni1-8/+8
2023-10-10tcp: record last received ipv6 flowlabelDavid Morley1-2/+2
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+2
2023-10-01tcp: derive delack_max from rto_minEric Dumazet1-1/+2
2023-09-29bpf: tcp_read_skb needs to pop skb regardless of seqJohn Fastabend1-8/+2
2023-09-16tcp: new TCP_INFO stats for RTO eventsAananth V1-0/+9
2023-09-07Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-2/+2
2023-09-01net: annotate data-races around sk->sk_tsflagsEric Dumazet1-2/+2
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-7/+4
2023-08-18mm: allow per-VMA locks on file-backed VMAsMatthew Wilcox (Oracle)1-7/+4
2023-08-16inet: move inet->defer_connect to inet->inet_flagsEric Dumazet1-5/+7
2023-08-06tcp: set TCP_DEFER_ACCEPT locklesslyEric Dumazet1-7/+6
2023-08-06tcp: set TCP_LINGER2 locklesslyEric Dumazet1-10/+9
2023-08-06tcp: set TCP_KEEPCNT locklesslyEric Dumazet1-8/+2
2023-08-06tcp: set TCP_KEEPINTVL locklesslyEric Dumazet1-8/+2
2023-08-06tcp: set TCP_USER_TIMEOUT locklesslyEric Dumazet1-13/+10
2023-08-06tcp: set TCP_SYNCNT locklesslyEric Dumazet1-9/+6
2023-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-27/+30
2023-07-20tcp: annotate data-races around fastopenq.max_qlenEric Dumazet1-1/+1
2023-07-20tcp: annotate data-races around icsk->icsk_user_timeoutEric Dumazet1-3/+3
2023-07-20tcp: annotate data-races around tp->notsent_lowatEric Dumazet1-2/+2
2023-07-20tcp: annotate data-races around rskq_defer_acceptEric Dumazet1-5/+6
2023-07-20tcp: annotate data-races around tp->linger2Eric Dumazet1-4/+4
2023-07-20tcp: annotate data-races around icsk->icsk_syn_retriesEric Dumazet1-3/+3
2023-07-20tcp: annotate data-races around tp->keepalive_probesEric Dumazet1-2/+3
2023-07-20tcp: annotate data-races around tp->keepalive_intvlEric Dumazet1-2/+2
2023-07-20tcp: annotate data-races around tp->keepalive_timeEric Dumazet1-1/+2
2023-07-20tcp: annotate data-races around tp->tsoffsetEric Dumazet1-2/+2
2023-07-20tcp: annotate data-races around tp->tcp_tx_delayEric Dumazet1-2/+2
2023-07-18tcp: get rid of sysctl_tcp_adv_win_scaleEric Dumazet1-5/+6
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-39/+4
2023-06-24net/tcp: optimise locking for blocking splicePavel Begunkov1-1/+1
2023-06-18tcp: Use per-vma locking for receive zerocopyArjun Roy1-8/+37
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao1-2/+3
2023-06-12tcp: remove size parameter from tcp_stream_alloc_skb()Eric Dumazet1-3/+3
2023-06-12tcp: let tcp_send_syn_data() build headless packetsEric Dumazet1-1/+1
2023-06-08ipv4, ipv6: Use splice_eof() to flushDavid Howells1-0/+16
2023-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+8
2023-05-29tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss setCambda Zhu1-1/+2
2023-05-29tcp: deny tcp_disconnect() when threads are waitingEric Dumazet1-0/+6
2023-05-26Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-3/+6
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-10/+1
2023-05-23tcp: Fold do_tcp_sendpages() into tcp_sendpage_locked()David Howells1-14/+7
2023-05-23tcp: Convert do_tcp_sendpages() to use MSG_SPLICE_PAGESDavid Howells1-151/+7
2023-05-23tcp: Support MSG_SPLICE_PAGESDavid Howells1-7/+36
2023-05-23bpf, sockmap: Incorrectly handling copied_seqJohn Fastabend1-9/+1
2023-05-23bpf, sockmap: Pass skb ownership through read_skbJohn Fastabend1-1/+0
2023-05-19bpf: Add bpf_sock_destroy kfuncAditi Ghag1-3/+6
2023-05-17net/tcp: optimise io_uring zc ubuf refcountingPavel Begunkov1-3/+6
2023-05-17net/tcp: don't peek at tail for io_uring zcPavel Begunkov1-2/+1
2023-05-10tcp: add annotations around sk->sk_shutdown accessesEric Dumazet1-6/+8
2023-04-14net: Ensure ->msg_control_user is used for user buffersKevin Brodsky1-2/+2
2023-03-18tcp: preserve const qualifier in tcp_sk()Eric Dumazet1-1/+1
2023-03-17tcp: annotate lockless access to sk->sk_errEric Dumazet1-5/+6
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+6
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-2/+2
2023-01-20tcp: fix rate_app_limited to default to 1David Morley1-0/+2
2023-01-18mm: remove zap_page_range and create zap_vma_pagesMike Kravetz1-3/+4
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-4/+6
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-12-01net/tcp: Disable TCP-MD5 static key on tcp_md5sig_info destructionDmitry Safonov1-4/+1
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-11-22dccp/tcp: Fixup bhash2 bucket when connect() fails.Kuniyuki Iwashima1-2/+1
2022-11-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-11-07tcp: prohibit TCP_REPAIR_OPTIONS if data was already sentLu Wei1-1/+1
2022-10-28tcp: add rcv_wnd and plb_rehash to TCP_INFOMubashir Adnan Qureshi1-0/+2
2022-10-28tcp: add u32 counter in tcp_sock and an SNMP counter for PLBMubashir Adnan Qureshi1-0/+3
2022-10-22net: flag sockets supporting msghdr originated zerocopyPavel Begunkov1-0/+1
2022-10-12tcp: Fix data races around icsk->icsk_af_ops.Kuniyuki Iwashima1-4/+6
2022-10-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-09-30tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limitedNeal Cardwell1-0/+2
2022-09-28tcp: export tcp_sendmsg_fastopenBenjamin Hesmans1-3/+2
2022-09-28net: shrink struct ubuf_infoPavel Begunkov1-1/+1
2022-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-10/+19