aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
AgeCommit message (Expand)AuthorFilesLines
7 daysnet: gro: add flush check in udp_gro_receive_segmentRichard Gobert1-1/+11
7 daysnet: gro: fix udp bad offset in socket lookup by adding {inner_}network_offse...Richard Gobert3-2/+5
7 daysipv4: Fix uninit-value access in __ip_make_skb()Shigeru Yoshida2-1/+4
2024-04-23tcp: Fix Use-After-Free in tcp_ao_connect_initHyunwoo Kim1-1/+2
2024-04-23ipv4: check for NULL idev in ip_route_use_hint()Eric Dumazet1-0/+3
2024-04-22icmp: prevent possible NULL dereferences from icmp_build_probe()Eric Dumazet1-2/+10
2024-04-19udp: preserve the connected status if only UDP cmsgYick Xie1-2/+3
2024-04-15inet: bring NLM_DONE out to a separate recv() againJakub Kicinski1-0/+5
2024-04-10netfilter: complete validation of user inputEric Dumazet2-0/+8
2024-04-09ipv4/route: avoid unused-but-set-variable warningArnd Bergmann1-3/+1
2024-04-04netfilter: validate user input for expected lengthEric Dumazet2-0/+8
2024-03-29tcp: Fix bind() regression for v6-only wildcard and v4(-mapped-v6) non-wildca...Kuniyuki Iwashima1-8/+11
2024-03-29tcp: Fix bind() regression for v6-only wildcard and v4-mapped-v6 non-wildcard...Kuniyuki Iwashima1-2/+9
2024-03-29erspan: make sure erspan_base_hdr is present in skb->headEric Dumazet1-0/+5
2024-03-29udp: prevent local UDP tunnel packets from being GROedAntoine Tenart1-0/+6
2024-03-29udp: do not transition UDP GRO fraglist partial checksums to unnecessaryAntoine Tenart1-7/+1
2024-03-29gro: fix ownership transferAntoine Tenart1-1/+2
2024-03-29udp: do not accept non-tunnel GSO skbs landing in a tunnelAntoine Tenart2-2/+11
2024-03-28inet: inet_defrag: prevent sk release while still in useFlorian Westphal2-14/+58
2024-03-28Merge tag 'nf-24-03-28' of git://git.kernel.org/pub/scm/linux/kernel/git/netf...Paolo Abeni1-0/+1
2024-03-28netfilter: arptables: Select NETFILTER_FAMILY_ARP when building arp_tables.cKuniyuki Iwashima1-0/+1
2024-03-25tcp: properly terminate timers for kernel socketsEric Dumazet2-0/+16
2024-03-22nexthop: fix uninitialized variable in nla_put_nh_group_stats()Dan Carpenter1-1/+3
2024-03-21Merge tag 'net-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds7-33/+28
2024-03-19Merge tag 'ipsec-2024-03-19' of git://git.kernel.org/pub/scm/linux/kernel/git...Jakub Kicinski1-4/+4
2024-03-19tcp: Clear req->syncookie in reqsk_alloc().Kuniyuki Iwashima1-0/+3
2024-03-19ipv4: raw: Fix sending packets from raw sockets via IPsec tunnelsTobias Brunner1-0/+1
2024-03-18Revert "net: Re-use and set mono_delivery_time bit for userspace tstamp packets"Abhishek Chauhan2-2/+0
2024-03-18net: esp: fix bad handling of pages from page_poolDragos Tatulea1-4/+4
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2024-03-14tcp: Fix refcnt handling in __inet_hash_connect().Kuniyuki Iwashima1-1/+1
2024-03-12rds: tcp: Fix use-after-free of net in reqsk_timer_handler().Kuniyuki Iwashima1-4/+0
2024-03-12tcp: Fix NEW_SYN_RECV handling in inet_twsk_purge()Eric Dumazet1-22/+19
2024-03-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+14
2024-03-11nexthop: Fix splat with CONFIG_DEBUG_PREEMPT=yIdo Schimmel1-1/+2
2024-03-11nexthop: Fix out-of-bounds access during attribute validationIdo Schimmel1-12/+17
2024-03-11nexthop: Only parse NHA_OP_FLAGS for dump messages that require itIdo Schimmel1-5/+5
2024-03-11nexthop: Only parse NHA_OP_FLAGS for get messages that require itIdo Schimmel1-8/+8
2024-03-11Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-5/+1
2024-03-11net: nexthop: Have all NH notifiers carry NH IDPetr Machata1-1/+1
2024-03-11net: nexthop: Initialize NH group ID in resilient NH group notifiersPetr Machata1-0/+1
2024-03-11tcp: annotate a data-race around sysctl_tcp_wmem[0]Jason Xing1-1/+1
2024-03-11udp: no longer touch sk->sk_refcnt in early demuxEric Dumazet1-2/+3
2024-03-11udp: fix incorrect parameter validation in the udp_lib_getsockopt() functionGavrilov Ilia1-2/+2
2024-03-11ipmr: fix incorrect parameter validation in the ip_mroute_getsockopt() functionGavrilov Ilia1-1/+3
2024-03-11tcp: fix incorrect parameter validation in the do_tcp_getsockopt() functionGavrilov Ilia1-2/+2
2024-03-08ipv4: raw: check sk->sk_rcvbuf earlierEric Dumazet1-0/+7
2024-03-08nexthop: Simplify dump error handlingIdo Schimmel1-9/+0
2024-03-08net: nexthop: Expose nexthop group HW stats to user spaceIdo Schimmel1-8/+122
2024-03-08net: nexthop: Add ability to enable / disable hardware statisticsIdo Schimmel1-1/+14
2024-03-08net: nexthop: Add hardware statistics notificationsIdo Schimmel1-0/+2
2024-03-08net: nexthop: Expose nexthop group stats to user spaceIdo Schimmel1-8/+87
2024-03-08net: nexthop: Add nexthop group entry statsIdo Schimmel1-4/+31
2024-03-08net: nexthop: Add NHA_OP_FLAGSPetr Machata1-4/+20
2024-03-08net: nexthop: Adjust netlink policy parsing for a new attributePetr Machata1-30/+28
2024-03-08net: ip_tunnel: make sure to pull inner header in ip_tunnel_rcv()Eric Dumazet1-1/+14
2024-03-07net: introduce include/net/rps.hEric Dumazet2-0/+2
2024-03-07inet: move inet_ehash_secret and udp_ehash_secret into net_hotdataEric Dumazet2-4/+1
2024-03-07inet: move tcp_protocol and udp_protocol to net_hotdataEric Dumazet1-15/+15
2024-03-07udp: move udpv4_offload and udpv6_offload to net_hotdataEric Dumazet1-9/+8
2024-03-07net: move tcpv4_offload and tcpv6_offload to net_hotdataEric Dumazet1-9/+8
2024-03-07net: move ip_packet_offload and ipv6_packet_offload to net_hotdataEric Dumazet1-9/+9
2024-03-07netlink: let core handle error cases in dump operationsEric Dumazet2-10/+1
2024-03-06Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>"Ahelenia ZiemiaƄska1-1/+1
2024-03-06inet: Add getsockopt support for IP_ROUTER_ALERT and IPV6_ROUTER_ALERTJuntong Deng1-3/+10
2024-03-05sock: Use unsafe_memcpy() for sock_copy()Kees Cook1-2/+3
2024-03-05net: Re-use and set mono_delivery_time bit for userspace tstamp packetsAbhishek Chauhan2-0/+2
2024-03-05tcp: gro: micro optimizations in tcp[4]_gro_complete()Eric Dumazet1-8/+9
2024-03-05net: gro: rename skb_gro_header_hard()Eric Dumazet3-3/+3
2024-03-04tcp: align tcp_sock_write_rx groupEric Dumazet1-1/+1
2024-03-04bpf, net: validate struct_ops when updating value.Kui-Feng Lee1-5/+1
2024-03-04net: adopt skb_network_offset() and similar helpersEric Dumazet2-2/+2
2024-03-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski5-10/+10
2024-03-01inet: use xa_array iterator to implement inet_dump_ifaddr()Eric Dumazet1-58/+37
2024-03-01inet: prepare inet_base_seq() to run without RTNLEric Dumazet1-1/+1
2024-03-01inet: annotate data-races around ifa->ifa_flagsEric Dumazet1-9/+13
2024-03-01inet: annotate data-races around ifa->ifa_preferred_lftEric Dumazet1-8/+8
2024-03-01inet: annotate data-races around ifa->ifa_valid_lftEric Dumazet1-8/+8
2024-03-01inet: annotate data-races around ifa->ifa_tstamp and ifa->ifa_cstampEric Dumazet1-10/+13
2024-02-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+21
2024-02-29ipv4: raw: remove useless input parameter in do_raw_set/getsockoptZhengchao Shao1-5/+5
2024-02-28netlabel: remove impossible return value in netlbl_bitmap_walkZhengchao Shao1-4/+1
2024-02-28inet: use xa_array iterator to implement inet_netconf_dump_devconf()Eric Dumazet1-58/+43
2024-02-28inet: do not use RTNL in inet_netconf_get_devconf()Eric Dumazet1-12/+15
2024-02-28inet: annotate devconf data-racesEric Dumazet4-15/+16
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 Xing2-6/+7
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-28tcp: use drop reasons in cookie check for ipv4Jason Xing1-6/+13
2024-02-28tcp: directly drop skb in cookie check for ipv4Jason Xing2-1/+5
2024-02-26inet: switch inet_dump_fib() to RCU protectionEric Dumazet2-21/+20
2024-02-26inet: allow ip_valid_fib_dump_req() to be called with RTNL or RCUEric Dumazet2-5/+14
2024-02-22net: ip_tunnel: prevent perpetual headroom growthFlorian Westphal1-7/+21
2024-02-22Merge tag 'nf-next-24-02-21' of https://git.kernel.org/pub/scm/linux/kernel/g...Jakub Kicinski1-1/+2
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-11/+44
2024-02-21udp: add local "peek offset enabled" flagPaolo Abeni2-2/+2
2024-02-21ipv4: Simplify the allocation of slab caches in ip_rt_initKunwu Chan1-3/+2
2024-02-21ipmr: Simplify the allocation of slab cachesKunwu Chan1-4/+1
2024-02-21net: implement lockless setsockopt(SO_PEEK_OFF)Eric Dumazet1-6/+1
2024-02-21netfilter: xtables: fix up kconfig dependenciesFlorian Westphal1-1/+2
2024-02-20net: tcp: Remove redundant initialization of variable lenColin Ian King1-1/+1
2024-02-20arp: Prevent overflow in arp_req_get().Kuniyuki Iwashima1-1/+2
2024-02-18ipv4: properly combine dev_base_seq and ipv4.dev_addr_genidEric Dumazet1-4/+17
2024-02-16tcp: Spelling s/curcuit/circuit/Geert Uytterhoeven1-1/+1
2024-02-16dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().Kuniyuki Iwashima1-1/+24
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski11-6/+19
2024-02-15tcp: no need to use acceptable for conn_requestJason Xing1-4/+1
2024-02-15net-timestamp: make sk_tskey more predictable in error pathVadim Fedorenko1-5/+8
2024-02-14ip_tunnel: annotate data-races around t->parms.linkEric Dumazet1-14/+13
2024-02-13net: add netdev_lockdep_set_classes() to virtual driversEric Dumazet1-0/+1
2024-02-12ipv4: Set the routing scope properly in ip_route_output_ports().Guillaume Nault4-4/+4
2024-02-12ipv4/fib: use synchronize_net() when holding RTNLEric Dumazet1-1/+1
2024-02-12tcp: move tp->scaling_ratio to tcp_sock_read_txrx groupEric Dumazet1-1/+2
2024-02-09net: fill in MODULE_DESCRIPTION()s for ipv4 modulesBreno Leitao9-0/+9
2024-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-3/+5
2024-02-07ip_tunnel: use exit_batch_rtnl() methodEric Dumazet4-21/+29
2024-02-07ipv4: add __unregister_nexthop_notifier()Eric Dumazet1-6/+13
2024-02-07nexthop: convert nexthop_net_exit_batch to exit_batch_rtnl methodEric Dumazet1-7/+12
2024-02-04inet: read sk->sk_family once in inet_recv_error()Eric Dumazet1-2/+4
2024-02-03tunnels: fix out of bounds access when building IPv6 PMTU errorAntoine Tenart1-1/+1
2024-02-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski6-12/+24
2024-01-31bpf: treewide: Annotate BPF kfuncs in BTFDaniel Xu5-10/+10
2024-01-31net: ipv4: Simplify the allocation of slab caches in inet_initpeersKunwu Chan1-4/+1
2024-01-31net: ipv4: fix a memleak in ip_setup_corkZhipeng Lu1-6/+6
2024-01-31Merge tag 'nf-next-24-01-29' of https://git.kernel.org/pub/scm/linux/kernel/g...David S. Miller2-19/+26
2024-01-29net: tcp: accept old ack during closingMenglong Dong1-7/+11
2024-01-29netfilter: xtables: allow xtables-nft only buildsFlorian Westphal2-4/+13
2024-01-29netfilter: arptables: allow xtables-nft only buildsFlorian Westphal1-15/+13
2024-01-29tcp: add sanity checks to rx zerocopyEric Dumazet1-1/+11
2024-01-26Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski2-18/+44
2024-01-26ipmr: fix kernel panic when forwarding mcast packetsNicolas Dichtel4-5/+7
2024-01-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-0/+8
2024-01-24bpf: Take into account BPF token when fetching helper protosAndrii Nakryiko1-1/+1
2024-01-23bpf, net: switch to dynamic registrationKui-Feng Lee1-3/+9
2024-01-23bpf, net: introduce bpf_struct_ops_desc.Kui-Feng Lee1-1/+7
2024-01-23bpf: tcp: Handle BPF SYN Cookie in cookie_v[46]_check().Kuniyuki Iwashima1-4/+27
2024-01-23tcp: Move tcp_ns_to_ts() to tcp.hKuniyuki Iwashima1-9/+0
2024-01-23inet_diag: skip over empty bucketsEric Dumazet1-0/+8
2024-01-23sock_diag: allow concurrent operation in sock_diag_rcv_msg()Eric Dumazet1-2/+7
2024-01-23sock_diag: add module pointer to "struct sock_diag_handler"Eric Dumazet1-0/+2
2024-01-23inet_diag: allow concurrent operationsEric Dumazet1-40/+40
2024-01-23inet_diag: add module pointer to "struct inet_diag_handler"Eric Dumazet3-0/+4
2024-01-23inet_diag: annotate data-races around inet_diag_table[]Eric Dumazet1-3/+3
2024-01-23tcp: Add memory barrier to tcp_push()Salvatore Dipietro1-0/+1
2024-01-19tcp: make sure init the accept_queue's spinlocks onceZhengchao Shao2-0/+7
2024-01-18Merge tag 'nf-24-01-18' of git://git.kernel.org/pub/scm/linux/kernel/git/netf...Jakub Kicinski1-3/+6
2024-01-17netfilter: bridge: replace physindev with physinif in nf_bridge_infoPavel Tikhomirov1-3/+6
2024-01-17netfilter: propagate net to nf_bridge_get_physindevPavel Tikhomirov1-1/+1
2024-01-13bpf: Avoid iter->offset making backward progress in bpf_iter_udpMartin KaFai Lau1-11/+10
2024-01-13bpf: iter_udp: Retry with a larger batch size without going back to the previ...Martin KaFai Lau1-1/+0
2024-01-13udp: annotate data-races around up->pendingEric Dumazet1-6/+6
2024-01-11Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds18-402/+548
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2024-01-08tcp: Revert no longer abort SYN_SENT when receiving some ICMPShachar Kagan1-6/+0
2024-01-08Merge tag 'vfs-6.8.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+4
2024-01-05Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski4-87/+0
2024-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+2
2024-01-04bpfilter: remove bpfilterQuentin Deslandes4-87/+0
2024-01-03fib: remove unnecessary input parameters in fib_default_rule_addZhengchao Shao2-4/+4
2024-01-01net/tcp_sigpool: Use kref_get_unless_zero()Dmitry Safonov1-3/+2
2023-12-27Kill sched.h dependency on rcupdate.hKent Overstreet1-0/+1
2023-12-22tcp: Remove dead code and fields for bhash2.Kuniyuki Iwashima2-23/+1
2023-12-22tcp: Link sk and twsk to tb2->owners using skc_bind_node.Kuniyuki Iwashima4-16/+9
2023-12-22tcp: Unlink sk from bhash.Kuniyuki Iwashima2-11/+0
2023-12-22tcp: Check hlist_empty(&tb->bhash2) instead of hlist_empty(&tb->owners).Kuniyuki Iwashima3-9/+8
2023-12-22tcp: Iterate tb->bhash2 in inet_csk_bind_conflict().Kuniyuki Iwashima1-1/+17
2023-12-22tcp: Rearrange tests in inet_csk_bind_conflict().Kuniyuki Iwashima1-21/+19
2023-12-22tcp: Link bhash2 to bhash.Kuniyuki Iwashima2-11/+12
2023-12-22tcp: Rename tb in inet_bind2_bucket_(init|create)().Kuniyuki Iwashima1-16/+16
2023-12-22tcp: Save address type in inet_bind2_bucket.Kuniyuki Iwashima1-16/+13
2023-12-22tcp: Save v4 address as v4-mapped-v6 in inet_bind2_bucket.v6_rcv_saddr.Kuniyuki Iwashima1-17/+17
2023-12-22tcp: Rearrange tests in inet_bind2_bucket_(addr_match|match_addr_any)().Kuniyuki Iwashima1-13/+12
2023-12-22tcp: Use bhash2 for v4-mapped-v6 non-wildcard address.Kuniyuki Iwashima2-3/+7
2023-12-19Revert BPF token-related functionalityAndrii Nakryiko1-1/+1
2023-12-18Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+70
2023-12-15tcp/dccp: change source port selection at connect() timeEric Dumazet1-11/+16
2023-12-15inet: returns a bool from inet_sk_get_local_port_range()Eric Dumazet1-5/+16
2023-12-15x86/cfi,bpf: Fix bpf_struct_ops CFIPeter Zijlstra1-0/+69
2023-12-15net: Namespace-ify sysctl_optmem_maxEric Dumazet1-3/+3
2023-12-15ipmr: support IP_PKTINFO on cache report IGMP msgLeone Fernando1-7/+6
2023-12-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+26
2023-12-13sctp: support MSG_ERRQUEUE flag in recvmsg()Eric Dumazet1-0/+1
2023-12-13Revert "tcp: disable tcp_autocorking for socket when TCP_NODELAY flag is set"Jakub Kicinski1-1/+1
2023-12-13tcp: disable tcp_autocorking for socket when TCP_NODELAY flag is setSalvatore Dipietro1-1/+1
2023-12-12net: Remove acked SYN flag from packet in the transmit queue correctlyDong Chenchen1-0/+6
2023-12-08tcp: fix tcp_disordered_ack() vs usec TS resolutionEric Dumazet1-2/+20
2023-12-08Use READ/WRITE_ONCE() for IP local_port_range.David Laight4-50/+34
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski7-26/+62
2023-12-06tcp: do not accept ACK of bytes we never sentEric Dumazet1-1/+5
2023-12-06bpf: take into account BPF token when fetching helper protosAndrii Nakryiko1-1/+1
2023-12-06net/tcp: Don't store TCP-AO maclen on reqskDmitry Safonov3-10/+8
2023-12-06net/tcp: Don't add key with non-matching VRF on connected socketsDmitry Safonov1-0/+9
2023-12-06net/tcp: Limit TCP_AO_REPAIR to non-listen socketsDmitry Safonov1-0/+6
2023-12-06net/tcp: Consistently align TCP-AO option in the headerDmitry Safonov4-8/+8
2023-12-06ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()Shigeru Yoshida1-4/+7
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