aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
AgeCommit message (Expand)AuthorFilesLines
11 daysMerge tag 'ipsec-next-2024-05-03' of git://git.kernel.org/pub/scm/linux/kerne...Jakub Kicinski1-2/+0
2024-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2024-05-02net: gro: fix udp bad offset in socket lookup by adding {inner_}network_offse...Richard Gobert1-1/+2
2024-04-30inet: introduce dst_rtable() helperEric Dumazet1-1/+1
2024-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2024-04-19udp: preserve the connected status if only UDP cmsgYick Xie1-2/+3
2024-04-18udpencap: Remove Obsolete UDP_ENCAP_ESPINUDP_NON_IKE SupportAntony Antony1-2/+0
2024-04-15udp: Avoid call to compute_score on multiple sitesGabriel Krisman Bertazi1-5/+16
2024-04-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+7
2024-03-29net: add sk_wake_async_rcu() helperEric Dumazet1-1/+1
2024-03-29udp: avoid calling sock_def_readable() if possibleEric Dumazet1-3/+11
2024-03-29udp: relax atomic operation on sk->sk_rmem_allocEric Dumazet1-6/+1
2024-03-29udp: annotate data-race in __udp_enqueue_schedule_skb()Eric Dumazet1-5/+6
2024-03-29net: udp: add IP/port data to the tracepoint udp/udp_fail_queue_rcv_skbBalazs Scheidler1-1/+1
2024-03-29udp: do not accept non-tunnel GSO skbs landing in a tunnelAntoine Tenart1-0/+7
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-07inet: move inet_ehash_secret and udp_ehash_secret into net_hotdataEric Dumazet1-2/+0
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+1
2024-02-21udp: add local "peek offset enabled" flagPaolo Abeni1-1/+1
2024-02-21net: implement lockless setsockopt(SO_PEEK_OFF)Eric Dumazet1-6/+1
2024-01-26ipmr: fix kernel panic when forwarding mcast packetsNicolas Dichtel1-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
2023-10-30Merge tag 'ipsec-next-2023-10-28' of git://git.kernel.org/pub/scm/linux/kerne...Jakub Kicinski1-0/+16
2023-10-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-3/+6
2023-10-11bpf: Propagate modified uaddrlen from cgroup sockaddr programsDaan De Meyer1-3/+6
2023-10-06xfrm: Support GRO for IPv6 ESP in UDP encapsulationSteffen Klassert1-0/+2
2023-10-06xfrm: Support GRO for IPv4 ESP in UDP encapsulationSteffen Klassert1-0/+14
2023-10-01inet: implement lockless getsockopt(IP_MULTICAST_IF)Eric Dumazet1-2/+2
2023-10-01inet: implement lockless getsockopt(IP_UNICAST_IF)Eric Dumazet1-5/+7
2023-10-01inet: implement lockless IP_MTU_DISCOVEREric Dumazet1-1/+1
2023-09-14udplite: fix various data-racesEric Dumazet1-10/+11
2023-09-14udp: annotate data-races around udp->encap_typeEric Dumazet1-4/+5
2023-09-14udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GROEric Dumazet1-7/+3
2023-09-14udp: move udp->accept_udp_{l4|fraglist} to udp->udp_flagsEric Dumazet1-1/+1
2023-09-14udp: add missing WRITE_ONCE() around up->encap_rcvEric Dumazet1-2/+4
2023-09-14udp: move udp->gro_enabled to udp->udp_flagsEric Dumazet1-3/+3
2023-09-14udp: move udp->no_check6_rx to udp->udp_flagsEric Dumazet1-2/+2
2023-09-14udp: move udp->no_check6_tx to udp->udp_flagsEric Dumazet1-2/+2
2023-09-14udp: introduce udp->udp_flagsEric Dumazet1-6/+6
2023-09-01net: annotate data-races around sk->sk_forward_allocEric Dumazet1-3/+3
2023-08-16inet: move inet->recverr to inet->inet_flagsEric Dumazet1-2/+3
2023-08-16inet: introduce inet->inet_flagsEric Dumazet1-1/+1
2023-08-03Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-52/+36
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+6
2023-07-29net: gro: fix misuse of CB in udp socket lookupRichard Gobert1-2/+6
2023-07-25bpf, net: Support SO_REUSEPORT sockets with bpf_sk_assignLorenz Bauer1-2/+6
2023-07-25net: remove duplicate sk_lookup helpersLorenz Bauer1-27/+5
2023-07-25net: remove duplicate reuseport_lookup functionsLorenz Bauer1-21/+13
2023-07-25udp: re-score reuseport groups when connected sockets are presentLorenz Bauer1-5/+15
2023-07-19udp: use indirect call wrapper for data ready()Paolo Abeni1-1/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-15/+0
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao1-7/+5
2023-06-10net: move gso declarations and functions to their own filesEric Dumazet1-0/+1
2023-06-08ipv4, ipv6: Use splice_eof() to flushDavid Howells1-0/+16
2023-05-26Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-50/+241
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+2
2023-05-24udp: Stop using RTO_ONLINK.Guillaume Nault1-11/+6
2023-05-23udp: Convert udp_sendpage() to use MSG_SPLICE_PAGESDavid Howells1-45/+6
2023-05-23bpf, sockmap: Pass skb ownership through read_skbJohn Fastabend1-5/+2
2023-05-19bpf: Add bpf_sock_destroy kfuncAditi Ghag1-3/+5
2023-05-19bpf: udp: Implement batching for sockets iteratorAditi Ghag1-6/+199
2023-05-19udp: seq_file: Remove bpf_seq_afinfo from udp_iter_stateAditi Ghag1-20/+7
2023-05-19bpf: udp: Encapsulate logic to get udp tableAditi Ghag1-23/+12
2023-05-19udp: seq_file: Helper function to match socket attributesAditi Ghag1-7/+27
2023-03-17udp: constify __udp_is_mcast_sock() socket argumentEric Dumazet1-2/+2
2023-03-09udp: introduce __sk_mem_schedule() usageJason Xing1-11/+16
2023-01-25inet: Add IP_LOCAL_PORT_RANGE socket optionJakub Sitnicki1-1/+1
2022-11-21net: Return errno in sk->sk_prot->get_port().Kuniyuki Iwashima1-1/+1
2022-11-16udp: Introduce optional per-netns hash table.Kuniyuki Iwashima1-6/+95
2022-11-16udp: Access &udp_table via net.Kuniyuki Iwashima1-10/+13
2022-11-16udp: Set NULL to udp_seq_afinfo.udp_table.Kuniyuki Iwashima1-8/+24
2022-11-16udp: Set NULL to sk->sk_prot->h.udp_table.Kuniyuki Iwashima1-4/+11
2022-11-16udp: Clean up some functions.Kuniyuki Iwashima1-16/+23
2022-11-08net: Change the udp encap_err_rcv to allow use of {ip,ipv6}_icmp_error()David Howells1-1/+2
2022-10-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-10-24udp: track the forward memory release threshold in an hot cachelinePaolo Abeni1-3/+15
2022-10-23Merge tag 'io_uring-6.1-2022-10-22' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2022-10-22net: flag sockets supporting msghdr originated zerocopyPavel Begunkov1-0/+1
2022-10-20Merge tag 'net-6.1-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-1/+1
2022-10-18udp: Update reuse->has_conns under reuseport_lock.Kuniyuki Iwashima1-1/+1
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-10-12tcp/udp: Call inet6_destroy_sock() in IPv6 sk->sk_destruct().Kuniyuki Iwashima1-3/+6
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-09-26udp: Refactor udp_read_skb()Peilin Ye1-29/+17
2022-09-22udp: Use WARN_ON_ONCE() in udp_read_skb()Peilin Ye1-1/+1
2022-09-01rxrpc: Fix ICMP/ICMP6 error handlingDavid Howells1-0/+2
2022-08-01udp: Remove redundant __udp_sysctl_init() call from udp_init().Kuniyuki Iwashima1-7/+1
2022-06-20skmsg: Get rid of skb_clone()Cong Wang1-0/+1
2022-06-20net: Introduce a new proto_ops ->read_skb()Cong Wang1-6/+4
2022-06-10net: add per_cpu_fw_alloc field to struct protoEric Dumazet1-0/+4
2022-06-10net: remove SK_MEM_QUANTUM and SK_MEM_QUANTUM_SHIFTEric Dumazet1-5/+5
2022-05-16inet: rename INET_MATCH()Eric Dumazet1-1/+1
2022-05-13inet: add READ_ONCE(sk->sk_bound_dev_if) in INET_MATCH()Eric Dumazet1-2/+1
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil1-1/+1
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-6/+5
2022-02-07net: udp: use kfree_skb_reason() in __udp_queue_rcv_skb()Menglong Dong1-3/+7
2022-02-07net: udp: use kfree_skb_reason() in udp_queue_rcv_one_skb()Menglong Dong1-3/+9
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-3/+3
2022-01-09net: skb: use kfree_skb_reason() in __udp4_lib_rcv()Menglong Dong1-2/+8
2022-01-06net: bpf: Handle return value of BPF_CGROUP_RUN_PROG_INET{4,6}_POST_BIND()Menglong Dong1-0/+1
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2021-12-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-12-27net: udp: fix alignment problem in udp4_seq_show()yangxingwu1-1/+1
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2021-12-20inet: fully convert sk->sk_rx_dst to RCU rulesEric Dumazet1-3/+3
2021-12-16add missing bpf-cgroup.h includesJakub Kicinski1-0/+1
2021-12-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-12-09udp: using datalen to cap max gso segmentsJianguo Wu1-1/+1
2021-11-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+11
2021-11-16net: cache align tcp_memory_allocated, tcp_sockets_allocatedEric Dumazet1-1/+1
2021-11-16udp: Validate checksum in udp_read_sock()Cong Wang1-0/+11
2021-11-15Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-4/+4
2021-11-10bpf: Add ingress_ifindex to bpf_sk_lookupMark Pashmfouroush1-4/+4
2021-11-06include/linux/mm.h: move nr_free_buffer_pages from swap.h to mm.hMianhan Liu1-1/+0
2021-10-26net: Implement ->sock_is_readable() for UDP and AF_UNIXCong Wang1-0/+3
2021-10-07net: prefer socket bound to interface when not in VRFMike Manning1-1/+2
2021-09-28net: udp: annotate data race around udp_sk(sk)->corkflagEric Dumazet1-5/+5
2021-08-23bpf: Migrate cgroup_bpf to internal cgroup_bpf_attach_type enumDave Marchevsky1-1/+1
2021-07-21udp: check encap socket in __udp_lib_errVadim Fedorenko1-6/+19
2021-07-01udp: annotate data races around unix_sk(sk)->gso_sizeEric Dumazet1-3/+3
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-2/+2
2021-06-21udp: Fix a memory leak in udp_read_sock()Cong Wang1-0/+2
2021-06-09udp: fix race between close() and udp_abort()Paolo Abeni1-0/+10
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+4
2021-04-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+32
2021-04-01net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);Norman Maurer1-0/+4
2021-04-01udp: Implement ->read_sock() for sockmapCong Wang1-0/+29
2021-04-01sock: Introduce sk->sk_prot->psock_update_sk_prot()Cong Wang1-0/+3
2021-03-30udp: never accept GSO_FRAGLIST packetsPaolo Abeni1-0/+3
2021-03-30udp: fixup csum for GSO receive slow pathPaolo Abeni1-0/+2
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-4/+3
2021-02-04udp: call udp_encap_enable for v6 sockets when enabling encapXin Long1-0/+6
2021-01-20bpf: Split cgroup_bpf_enabled per attach typeStanislav Fomichev1-4/+3
2021-01-19udp: mask TOS bits in udp_v4_early_demux()Guillaume Nault1-1/+2
2020-12-16Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2020-12-07udp: fix the proto value passed to ip_protocol_deliver_rcu for the segmentsXin Long1-1/+1
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-11-14inet: unexport udp{4|6}_lib_lookup_skb()Eric Dumazet1-1/+0
2020-11-10inet: udp{4|6}_lib_lookup_skb() skb argument is constEric Dumazet1-1/+1
2020-11-09net: udp: remove redundant initialization in udp_send_skbMenglong Dong1-1/+1
2020-11-09net: udp: introduce UDP_MIB_MEMERRORS for udp_memMenglong Dong1-0/+3
2020-10-30udp: check udp sock encap_type in __udp_lib_errXin Long1-1/+1
2020-08-24net: ipv4: delete repeated wordsRandy Dunlap1-1/+1
2020-07-31udp, bpf: Ignore connections in reuseport group after BPF sk lookupJakub Sitnicki1-1/+1
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-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-16/+14
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-3/+3
2020-07-24net/udp: switch udp_lib_setsockopt to sockptr_tChristoph Hellwig1-3/+4
2020-07-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-20/+77
2020-07-21net: udp: Fix wrong clean up for IS_UDPLITE macroMiaohe Lin1-1/+1
2020-07-21udp: Improve load balancing for SO_REUSEPORT.Kuniyuki Iwashima1-6/+9
2020-07-21bpf: net: Use precomputed btf_id for bpf iteratorsYonghong Song1-1/+3
2020-07-19net/ipv4: remove compat_ip_{get,set}sockoptChristoph Hellwig1-24/+0
2020-07-17udp: Run SK_LOOKUP BPF program on socket lookupJakub Sitnicki1-9/+50
2020-07-17udp: Extract helper for selecting socket from reuseport groupJakub Sitnicki1-10/+24
2020-07-13net: ipv4: kerneldoc fixesAndrew Lunn1-3/+3
2020-06-24net: bpf: Implement bpf iterator for udpYonghong Song1-0/+116
2020-06-24net: bpf: Add bpf_seq_afinfo in udp_iter_stateYonghong Song1-5/+23
2020-04-28xfrm: add support for UDPv6 encapsulation of ESPSabrina Dubroca1-1/+9
2020-03-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+4
2020-03-30net: Track socket refcounts in skb_steal_sock()Joe Stringer1-2/+4
2020-03-29net: Fix typo of SKB_SGO_CB_OFFSETCambda Zhu1-1/+1
2020-03-12inet: Use fallthrough;Joe Perches1-1/+1
2020-02-28net: datagram: drop 'destructor' argument from several helpersPaolo Abeni1-6/+8
2020-02-19udp: rehash on disconnectWillem de Bruijn1-1/+5
2020-01-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+2
2020-01-22Revert "udp: do rmem bulk free even if the rx sk queue is empty"Paolo Abeni1-1/+2
2020-01-21Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+2
2020-01-14net: udp: use skb_list_walk_safe helper for gso segmentsJason A. Donenfeld1-2/+1
2019-12-24udp: fix integer overflow while computing available space in sk_rcvbufAntonio Messina1-1/+1
2019-12-09net: add queue argument to __skb_wait_for_more_packets and __skb_{,try_}recv_...Sabrina Dubroca1-1/+2
2019-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+22
2019-11-22udp: drop skb extensions before marking skb statelessFlorian Westphal1-5/+22
2019-11-13Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-0/+2
2019-10-30net: annotate accesses to sk->sk_incoming_cpuEric Dumazet1-1/+1
2019-10-28udp: fix data-race in udp_set_dev_scratch()Eric Dumazet1-4/+15
2019-10-28net: use skb_queue_empty_lockless() in poll() handlersEric Dumazet1-1/+1
2019-10-28udp: use skb_queue_empty_lockless()Eric Dumazet1-3/+3
2019-10-09xfrm: ifdef setsockopt(UDP_ENCAP_ESPINUDP/UDP_ENCAP_ESPINUDP_NON_IKE)Alexey Dobriyan1-0/+2
2019-10-03udp: only do GSO if # of segs > 1Josh Hunt1-4/+7
2019-10-03udp: fix gso_segs calculationsJosh Hunt1-1/+1
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-2/+2
2019-09-17Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+3
2019-09-16udp: correct reuseport selection with connected socketsWillem de Bruijn1-2/+3
2019-09-13ip: support SO_MARK cmsgWillem de Bruijn1-1/+1
2019-07-18udp: Fix typo in net/ipv4/udp.cSu Yanjun1-1/+1
2019-07-05net: remove unused parameter from skb_checksum_try_convertLi RongQing1-2/+1
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+9
2019-06-14udp: Remove unused variable/function (exact_dif)Tim Beale1-12/+0
2019-06-14udp: Remove unused parameter (exact_dif)Tim Beale1-5/+5
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-1/+9
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+2
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-2/+1
2019-06-06bpf: fix unconnected udp hooksDaniel Borkmann1-0/+4