aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
AgeCommit message (Expand)AuthorFilesLines
5 daystcp: rstreason: handle timewait cases in the receive pathJason Xing1-1/+1
9 daystcp: get rid of twsk_unique()Eric Dumazet1-1/+0
9 daysMerge 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
2021-07-31Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-86/+324
2021-07-23bpf: tcp: Support bpf_(get|set)sockopt in bpf tcp iterMartin KaFai Lau1-0/+15
2021-07-23bpf: tcp: Bpf iter batching and lock_sockMartin KaFai Lau1-6/+231
2021-07-23tcp: seq_file: Replace listening_hash with lhash2Martin KaFai Lau1-17/+18
2021-07-23tcp: seq_file: Add listening_get_first()Martin KaFai Lau1-20/+39
2021-07-23bpf: tcp: seq_file: Remove bpf_seq_afinfo from tcp_iter_stateMartin KaFai Lau1-20/+5
2021-07-23tcp: seq_file: Refactor net and family matchingMartin KaFai Lau1-38/+30
2021-07-23tcp: seq_file: Avoid skipping sk during tcp_seek_last_posMartin KaFai Lau1-2/+3
2021-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2021-07-21tcp: disable TFO blackhole logic by defaultWei Wang1-1/+1
2021-07-20net/tcp_fastopen: remove tcp_fastopen_ctx_lockEric Dumazet1-1/+0
2021-07-02tcp: annotate data races around tp->mtu_infoEric Dumazet1-2/+2
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-2/+2
2021-06-15tcp: Migrate TCP_NEW_SYN_RECV requests at receiving the final ACK.Kuniyuki Iwashima1-6/+14
2021-05-14tcp: add tracepoint for checksum errorsJakub Kicinski1-0/+3
2021-04-02mptcp: add mptcp reset option supportFlorian Westphal1-3/+18
2021-04-01sock: Introduce sk->sk_prot->psock_update_sk_prot()Cong Wang1-0/+3
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2021-02-03net: indirect call helpers for ipv4/ipv6 dst_check functionsBrian Vazquez1-1/+4
2021-01-20bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVEStanislav Fomichev1-0/+1
2021-01-20tcp: Fix potential use-after-free due to double kfree()Kuniyuki Iwashima1-2/+2
2021-01-19tcp: do not mess with cloned skbs in tcp_add_backlog()Eric Dumazet1-12/+13
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+5
2020-12-09tcp: Retain ECT bits for tos reflectionWei Wang1-2/+5
2020-12-03tcp: merge 'init_req' and 'route_req' functionsFlorian Westphal1-2/+7
2020-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+22
2020-11-24tcp: Set ECT0 bit in tos/tclass for synack when BPF needs ECNAlexander Duyck1-4/+8
2020-11-23tcp: fix race condition when creating child sockets from syncookiesRicardo Dias1-2/+13
2020-11-20tcp: Allow full IP tos/IPv6 tclass to be reflected in L3 headerAlexander Duyck1-2/+3
2020-11-14tcp: uninline tcp_stream_memory_free()Eric Dumazet1-0/+14
2020-10-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2020-10-06tcp: fix receive window update in tcp_add_backlog()Eric Dumazet1-3/+3
2020-09-10tcp: reflect tos value received in SYN to the socketWei Wang1-1/+9
2020-09-10ip: pass tos into ip_build_and_send_pkt()Wei Wang1-1/+2
2020-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+3
2020-08-24net: ipv4: delete repeated wordsRandy Dunlap1-1/+1
2020-08-24bpf: tcp: Add bpf_skops_hdr_opt_len() and bpf_skops_write_hdr_opt()Martin KaFai Lau1-2/+3
2020-07-25bpf: Refactor to provide aux info to bpf_iter_init_seq_priv_tYonghong Song1-2/+2
2020-07-25bpf: Refactor bpf_iter_reg to have separate seq_info memberYonghong Song1-2/+6
2020-07-24net/tcp: switch ->md5_parse to sockptr_tChristoph Hellwig1-2/+2
2020-07-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+3
2020-07-21bpf: net: Use precomputed btf_id for bpf iteratorsYonghong Song1-1/+3
2020-07-19net/ipv6: remove compat_ipv6_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-19net/ipv4: remove compat_ip_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+16
2020-07-01tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriersEric Dumazet1-5/+14
2020-06-30tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_hash_key()Eric Dumazet1-0/+3
2020-06-24net: bpf: Implement bpf iterator for tcpYonghong Song1-0/+123
2020-06-24net: bpf: Add bpf_seq_afinfo in tcp_iter_stateYonghong Song1-6/+24
2020-05-28tcp: ipv6: support RFC 6069 (TCP-LD)Eric Dumazet1-1/+2
2020-05-27tcp: rename tcp_v4_err() skb parameterEric Dumazet1-9/+9
2020-05-27tcp: add tcp_ld_RTO_revert() helperEric Dumazet1-40/+45
2020-05-26tcp: tcp_v4_err() icmp skb is named icmp_skbEric Dumazet1-1/+1
2020-05-25tcp: allow traceroute -Mtcp for unpriv usersEric Dumazet1-0/+2
2020-04-30tcp: add hrtimer slack to sack compressionEric Dumazet1-0/+1
2020-03-12inet: Use fallthrough;Joe Perches1-2/+2
2020-02-24tcp: ipv4: Pass lockdep expression to RCU listsAmol Grover1-2/+4
2020-01-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+4
2020-01-09tcp: Export TCP functions and ops structMat Martineau1-1/+1
2020-01-09bpf: tcp: Support tcp_congestion_ops in bpfMartin KaFai Lau1-2/+4
2020-01-02net: Add device index to tcp_md5sigDavid Ahern1-0/+18
2020-01-02tcp: Add l3index to tcp_md5sig_key and md5 functionsDavid Ahern1-20/+48
2020-01-02ipv4/tcp: Pass dif and sdif to tcp_v4_inbound_md5_hashDavid Ahern1-5/+8
2020-01-02ipv4/tcp: Use local variable for tcp_md5_addrDavid Ahern1-17/+26