aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
AgeCommit message (Expand)AuthorFilesLines
6 daysnet: gro: fix udp bad offset in socket lookup by adding {inner_}network_offse...Richard Gobert1-1/+2
2024-04-19udp: preserve the connected status if only UDP cmsgYick Xie1-2/+3
2024-03-29udp: do not accept non-tunnel GSO skbs landing in a tunnelAntoine Tenart1-1/+1
2024-03-11udp: no longer touch sk->sk_refcnt in early demuxEric Dumazet1-2/+3
2024-03-07ipv6: move tcp_ipv6_hash_secret and udp_ipv6_hash_secret to net_hotdataEric Dumazet1-2/+0
2024-03-07ipv6: move inet6_ehash_secret and udp6_ehash_secret into net_hotdataEric Dumazet1-1/+0
2024-03-07ipv6: move tcpv6_protocol and udpv6_protocol to net_hotdataEric Dumazet1-8/+8
2024-01-13udp: annotate data-races around up->pendingEric Dumazet1-8/+8
2023-12-11ipv6: annotate data-races around np->ucast_oifEric Dumazet1-1/+1
2023-12-11ipv6: annotate data-races around np->mcast_oifEric Dumazet1-1/+1
2023-10-11bpf: Propagate modified uaddrlen from cgroup sockaddr programsDaan De Meyer1-2/+4
2023-09-15ipv6: lockless IPV6_FLOWINFO_SEND implementationEric Dumazet1-1/+1
2023-09-15ipv6: lockless IPV6_MTU_DISCOVER implementationEric Dumazet1-1/+1
2023-09-15ipv6: lockless IPV6_RECVERR implemetationEric Dumazet1-3/+3
2023-09-15ipv6: lockless IPV6_DONTFRAG implementationEric Dumazet1-1/+1
2023-09-14udplite: fix various data-racesEric Dumazet1-4/+5
2023-09-14udp: annotate data-races around udp->encap_typeEric Dumazet1-2/+3
2023-09-14udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GROEric Dumazet1-1/+1
2023-09-14udp: move udp->gro_enabled to udp->udp_flagsEric Dumazet1-1/+1
2023-09-14udp: move udp->no_check6_rx to udp->udp_flagsEric Dumazet1-3/+3
2023-09-14udp: move udp->no_check6_tx to udp->udp_flagsEric Dumazet1-2/+2
2023-09-14udp: introduce udp->udp_flagsEric Dumazet1-3/+3
2023-09-01net: annotate data-races around sk->sk_tsflagsEric Dumazet1-1/+1
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-58/+38
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+8
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-2/+2
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-29/+5
2023-07-25net: remove duplicate reuseport_lookup functionsLorenz Bauer1-25/+16
2023-07-25udp: re-score reuseport groups when connected sockets are presentLorenz Bauer1-5/+14
2023-07-24ipv6: remove hard coded limitation on ipv6_pinfoEric Dumazet1-0/+1
2023-07-08udp6: fix udp6_ehashfn() typoEric Dumazet1-1/+1
2023-07-07udp6: add a missing call into udp_fail_queue_rcv_skb tracepointIvan Babrou1-0/+2
2023-06-08ipv4, ipv6: Use splice_eof() to flushDavid Howells1-0/+15
2023-04-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+5
2023-04-13udp6: fix potential access to stale informationEric Dumazet1-3/+5
2023-03-22netfilter: keep conntrack reference until IPsecv6 policy checks are doneMadhu Koriginja1-0/+2
2023-03-17udp6: constify __udp_v6_is_mcast_sock() socket argumentEric Dumazet1-2/+2
2023-03-17inet: preserve const qualifier in inet_sk()Eric Dumazet1-1/+1
2022-11-16udp: Access &udp_table via net.Kuniyuki Iwashima1-8/+11
2022-11-16udp: Set NULL to udp_seq_afinfo.udp_table.Kuniyuki Iwashima1-1/+1
2022-11-16udp: Set NULL to sk->sk_prot->h.udp_table.Kuniyuki Iwashima1-1/+1
2022-11-16udp: Clean up some functions.Kuniyuki Iwashima1-4/+8
2022-11-09Merge tag 'rxrpc-next-20221108' of git://git.kernel.org/pub/scm/linux/kernel/...David S. Miller1-1/+3
2022-11-08rxrpc: Call udp_sendmsg() directlyDavid Howells1-0/+1
2022-11-08net: Change the udp encap_err_rcv to allow use of {ip,ipv6}_icmp_error()David Howells1-1/+2
2022-11-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-10-28udp: advertise ipv6 udp support for msghdr::ubuf_infoPavel Begunkov1-0/+1
2022-10-24udp: track the forward memory release threshold in an hot cachelinePaolo Abeni1-2/+2
2022-10-24inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().Kuniyuki Iwashima1-2/+0
2022-10-18udp: Update reuse->has_conns under reuseport_lock.Kuniyuki Iwashima1-1/+1
2022-10-12tcp/udp: Call inet6_destroy_sock() in IPv6 sk->sk_destruct().Kuniyuki Iwashima1-1/+14
2022-09-27Add skb drop reasons to IPv6 UDP receive pathDonald Hunter1-6/+16
2022-09-01rxrpc: Fix ICMP/ICMP6 error handlingDavid Howells1-1/+4
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+2
2022-07-15tcp/udp: Make early_demux back namespacified.Kuniyuki Iwashima1-7/+2
2022-06-10net: add per_cpu_fw_alloc field to struct protoEric Dumazet1-0/+3
2022-05-16ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH()Eric Dumazet1-1/+1
2022-05-16net: annotate races around sk->sk_bound_dev_ifEric Dumazet1-5/+6
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil1-1/+1
2022-04-22ipv6: Remove __ipv6_only_sock().Kuniyuki Iwashima1-2/+2
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-2/+2
2022-02-14ipv6: Add reasons for skb drops to __udp6_lib_rcvDavid Ahern1-2/+9
2022-01-27ipv6: optimise dst refcounting on cork initPavel Begunkov1-1/+2
2022-01-27udp6: don't make extra copies of iflowPavel Begunkov1-43/+42
2022-01-27udp6: pass flow in ip6_make_skb together with corkPavel Begunkov1-1/+3
2022-01-27ipv6: don't zero inet_cork_full::fl after usePavel Begunkov1-8/+2
2022-01-27udp6: shuffle up->pending AF_INET bitsPavel Begunkov1-3/+2
2022-01-06Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+1
2022-01-06net: bpf: Handle return value of BPF_CGROUP_RUN_PROG_INET{4,6}_POST_BIND()Menglong Dong1-0/+1
2022-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2022-01-04udp6: Use Segment Routing Header for dest address if presentAndrew Lunn1-1/+2
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-23udp: using datalen to cap ipv6 udp max gso segmentsCoco Li1-1/+1
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-12-20inet: fully convert sk->sk_rx_dst to RCU rulesEric Dumazet1-2/+2
2021-12-16add missing bpf-cgroup.h includesJakub Kicinski1-0/+1
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-03net: udp6: replace __UDP_INC_STATS() with __UDP6_INC_STATS()Menglong Dong1-3/+3
2021-11-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-11-01udp6: allow SO_MARK ctrl msg to affect routingJakub Kicinski1-1/+1
2021-10-25ipv6: move inet6_sk(sk)->rx_dst_cookie to sk->sk_rx_dst_cookieEric Dumazet1-2/+2
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-1/+1
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-1/+1
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-06-09udp: fix race between close() and udp_abort()Paolo Abeni1-0/+3
2021-04-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+3
2021-04-01sock: Introduce sk->sk_prot->psock_update_sk_prot()Cong Wang1-0/+3
2021-03-30udp: fixup csum for GSO receive slow pathPaolo Abeni1-0/+1
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-1/+3
2021-01-20bpf: Split cgroup_bpf_enabled per attach typeStanislav Fomichev1-4/+3
2020-12-16Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-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: 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-07-31udp, bpf: Ignore connections in reuseport group after BPF sk lookupJakub Sitnicki1-1/+1
2020-07-25udp: Don't discard reuseport selection when group has connectionsJakub Sitnicki1-3/+0
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-10/+11
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-3/+3
2020-07-24net/udp: switch udp_lib_setsockopt to sockptr_tChristoph Hellwig1-1/+2
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-19net/ipv6: remove compat_ipv6_{get,set}sockoptChristoph Hellwig1-25/+0
2020-07-17udp6: Run SK_LOOKUP BPF program on socket lookupJakub Sitnicki1-9/+51
2020-07-17udp6: Extract helper for selecting socket from reuseport groupJakub Sitnicki1-11/+26
2020-07-13net: ipv6: kerneldoc fixesAndrew Lunn1-0/+3
2020-03-30net: Track socket refcounts in skb_steal_sock()Joe Stringer1-3/+6
2020-01-14net: udp: use skb_list_walk_safe helper for gso segmentsJason A. Donenfeld1-2/+1
2019-10-30net: annotate accesses to sk->sk_incoming_cpuEric Dumazet1-1/+1
2019-10-03udp: only do GSO if # of segs > 1Josh Hunt1-4/+7
2019-10-03udp: fix gso_segs calculationsJosh Hunt1-0/+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/+2
2019-07-08ipv6: elide flowlabel check if no exclusive leases existWillem de Bruijn1-2/+2
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-2/+6
2019-06-14udp: Remove unused variable/function (exact_dif)Tim Beale1-11/+0
2019-06-14udp: Remove unused parameter (exact_dif)Tim Beale1-7/+6
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-2/+6
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-06bpf: fix unconnected udp hooksDaniel Borkmann1-0/+4
2019-06-05net: ipv6: drop unneeded likely() call around IS_ERR()Enrico Weigelt1-1/+1
2019-06-03bpf: udp: Avoid calling reuseport's bpf_prog from udp_groMartin KaFai Lau1-1/+1
2019-06-03bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_errMartin KaFai Lau1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-05net: use indirect calls helpers at early demux stagePaolo Abeni1-1/+1
2019-05-05net: use indirect calls helpers for L3 handler hooksPaolo Abeni1-1/+2
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2019-04-12udpv6: Check address length before reading address familyTetsuo Handa1-0/+2
2019-04-08datagram: remove rendundant 'peeked' argumentPaolo Abeni1-6/+4
2019-02-22udpv6: fix possible user after free in error handlerPaolo Abeni1-4/+6
2019-02-22udpv6: add the required annotation to mib typePaolo Abeni1-1/+1
2019-01-17udp6: add missing rehash callback to udpliteAlexey Kodanev1-1/+1
2019-01-16udp: with udp_segment release on error pathWillem de Bruijn1-4/+12
2019-01-04bpf: Fix [::] -> [::1] rewrite in sys_sendmsgAndrey Ignatov1-4/+4
2018-12-14net: udp6: prefer listeners bound to an addressPeter Oskolkov1-58/+21
2018-11-16udp: fix jump label misusePaolo Abeni1-2/+2
2018-11-09udp6: cleanup stats accounting in recvmsg()Paolo Abeni1-25/+7
2018-11-08udp: Support for error handlers of tunnels with arbitrary destination portStefano Brivio1-17/+58
2018-11-08net: Convert protocol error handlers from void to intStefano Brivio1-9/+9
2018-11-08udp: Handle ICMP errors for tunnels with same destination port on both endpointsStefano Brivio1-11/+78
2018-11-07udp: cope with UDP GRO packet misdirectionPaolo Abeni1-1/+23
2018-11-07udp: add support for UDP_GRO cmsgPaolo Abeni1-0/+3
2018-11-07udp: implement complete book-keeping for encap_neededPaolo Abeni1-5/+9
2018-11-07ipv6: do not drop vrf udp multicast packetsDewi Morgan1-3/+5
2018-11-07net: ensure unbound datagram socket to be chosen when not in a VRFMike Manning1-9/+5
2018-10-26net: allow traceroute with a specified interface in a vrfMike Manning1-1/+1
2018-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+2
2018-10-17udp6: fix encap return code for resubmittingPaolo Abeni1-4/+2
2018-10-05udp: gro behind static keyWillem de Bruijn1-1/+1
2018-09-16udp6: add missing checks on edumux packet processingPaolo Abeni1-28/+37
2018-08-11bpf: Enable BPF_PROG_TYPE_SK_REUSEPORT bpf prog in reuseport selectionMartin KaFai Lau1-0/+4
2018-07-07ipv6: fold sockcm_cookie into ipcm6_cookieWillem de Bruijn1-6/+4
2018-07-07ipv6: ipcm6_cookie initializerWillem de Bruijn1-3/+1
2018-07-04net: ipv6: Hook into time based transmissionJesus Sanchez-Palencia1-0/+1
2018-06-08udp: fix rx queue len reported by diag and proc interfacePaolo Abeni1-1/+2
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-12/+60
2018-06-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+24
2018-06-05netfilter: provide udp*_lib_lookup for nf_tproxyArnd Bergmann1-3/+1
2018-05-28bpf: Hooks for sys_sendmsgAndrey Ignatov1-0/+24
2018-05-23udp: exclude gso from xfrm pathsWillem de Bruijn1-1/+2
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-17/+4
2018-05-16ipv{4,6}/udp{,lite}: simplify proc registrationChristoph Hellwig1-9/+21
2018-05-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2018-05-10udp: fix SO_BINDTODEVICEPaolo Abeni1-2/+2
2018-05-10net/udp: Update udp_encap_needed static key to modern apiDavidlohr Bueso1-4/+4
2018-05-01udp: disable gso with no_check_txWillem de Bruijn1-0/+4
2018-04-26udp: add gso segment cmsgWillem de Bruijn1-1/+4
2018-04-26udp: generate gso with UDP_SEGMENTWillem de Bruijn1-3/+20
2018-04-26udp: expose inet cork to udpWillem de Bruijn1-1/+2
2018-04-04ipv6: udp: set dst cache for a connected sk if current not validAlexey Kodanev1-19/+2
2018-04-04ipv6: udp: convert 'connected' to bool type in udpv6_sendmsg()Alexey Kodanev1-5/+5
2018-04-04ipv6: allow to cache dst for a connected sk in ip6_sk_dst_lookup_flow()Alexey Kodanev1-1/+1
2018-03-31bpf: Hooks for sys_connectAndrey Ignatov1-0/+20
2018-03-16udp: Move the udp sysctl to namespace.Tonghao Zhang1-26/+26
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-1/+0
2017-12-03udp: Move udp[46]_portaddr_hash() to net/ip[v6].hMartin KaFai Lau1-24/+8
2017-11-30net/reuseport: drop legacy codePaolo Abeni1-18/+4
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-2/+2
2017-09-18udpv6: Fix the checksum computation when HW checksum does not applySubash Abhinov Kasiviswanathan1-0/+1
2017-09-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-21/+29
2017-09-04Merge branch 'linus' into locking/core, to fix up conflictsIngo Molnar1-1/+10
2017-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+10
2017-08-28net: Add comment that early_demux can change via sysctlDavid Ahern1-0/+3
2017-08-25udp6: set rx_dst_cookie on rx_dst updatesPaolo Abeni1-1/+10
2017-08-25Merge branch 'linus' into locking/core, to pick up fixesIngo Molnar1-1/+2
2017-08-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2017-08-18datagram: When peeking datagrams with offset < 0 don't skip empty skbsMatthew Dawson1-1/+2