aboutsummaryrefslogtreecommitdiffstats
path: root/net/xdp
AgeCommit message (Expand)AuthorFilesLines
9 daysxdp: convert to getsockopt_iterBreno Leitao1-13/+11
2026-05-09Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-0/+4
2026-05-09xskmap: reject TX-only AF_XDP socketsLinpu Yu1-0/+4
2026-05-05xsk: fix u64 descriptor address truncation on 32-bit architecturesJason Xing1-32/+56
2026-05-05xsk: fix xsk_addrs slab leak on multi-buffer error pathJason Xing1-2/+2
2026-05-05xsk: avoid skb leak in XDP_TX_METADATA caseJason Xing1-1/+3
2026-05-05xsk: prevent CQ desync when freeing half-built skbs in xsk_build_skb()Jason Xing1-3/+2
2026-05-05xsk: fix use-after-free of xs->skb in xsk_build_skb() free_err pathJason Xing1-1/+1
2026-05-05xsk: handle NULL dereference of the skb without frags issueJason Xing1-3/+8
2026-05-05xsk: free the skb when hitting the upper bound MAX_SKB_FRAGSJason Xing1-1/+4
2026-05-05xsk: reject sw-csum UMEM binding to IFF_TX_SKB_NO_LINEAR devicesJason Xing1-0/+3
2026-04-14Merge tag 'net-next-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-18/+79
2026-04-14Merge tag 'bpf-next-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf...Linus Torvalds2-8/+26
2026-04-13Merge tag 'vfs-7.1-rc1.kino' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2026-04-09net: remove the netif_get_rx_queue_lease_locked() helpersJakub Kicinski1-28/+49
2026-04-09Merge branch 'netkit-support-for-io_uring-zero-copy-and-af_xdp'Jakub Kicinski1-14/+61
2026-04-09xsk: Proxy pool management for leased queuesDaniel Borkmann1-12/+35
2026-04-09xsk: Extend xsk_rcv_check validationDaniel Borkmann1-3/+26
2026-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-6/+33
2026-04-06xsk: validate MTU against usable frame size on bindMaciej Fijalkowski1-3/+25
2026-04-06xsk: fix XDP_UMEM_SG_FLAG issuesMaciej Fijalkowski1-0/+4
2026-04-06xsk: respect tailroom for ZC setupsMaciej Fijalkowski1-2/+2
2026-04-06xsk: tighten UMEM headroom validation to account for tailroom and min frameMaciej Fijalkowski1-1/+2
2026-03-17xsk: use __xsk_rcv_zc_safe for ZC multi-buffer Rx processingMaciej Fijalkowski1-2/+2
2026-03-16xsk: remove repeated definesMaciej Fijalkowski1-7/+0
2026-03-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 7.0-rc3Alexei Starovoitov1-10/+16
2026-03-06net: change sock.sk_ino and sock_i_ino() to u64Jeff Layton1-1/+1
2026-02-28xsk: Fix zero-copy AF_XDP fragment dropNikhil P. Rao1-9/+15
2026-02-28xsk: Fix fragment node deletion to prevent buffer leakNikhil P. Rao1-1/+1
2026-02-24xsk: avoid double checking against rx queue being fullMaciej Fijalkowski2-6/+24
2026-02-22Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL usesKees Cook1-1/+1
2026-02-21Convert more 'alloc_obj' cases to default GFP_KERNEL argumentsLinus Torvalds1-4/+2
2026-02-21Convert 'alloc_flex' family to use the new default GFP_KERNEL argumentLinus Torvalds1-1/+1
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds3-4/+4
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook3-10/+13
2026-01-20Revert "Merge branch 'netkit-support-for-io_uring-zero-copy-and-af_xdp'"Jakub Kicinski1-62/+17
2026-01-20xsk: Proxy pool management for leased queuesDaniel Borkmann1-13/+35
2026-01-20xsk: Extend xsk_rcv_check validationDaniel Borkmann1-3/+26
2026-01-20net: Implement netdev_nl_queue_create_doitDaniel Borkmann1-1/+1
2026-01-15xsk: move cq_cached_prod_lock to avoid touching a cacheline in sending pathJason Xing3-5/+10
2026-01-15xsk: advance cq/fq check when shared umem is usedJason Xing2-4/+7
2025-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-55/+88
2025-11-25xsk: avoid data corruption on cq descriptor numberFernando Fernandez Mancera1-55/+88
2025-11-11xsk: add indirect call for xsk_destruct_skbJason Xing1-1/+2
2025-11-06xsk: Move NETDEV_XDP_ACT_ZC into generic headerDaniel Borkmann1-5/+1
2025-11-04net: Convert proto_ops bind() callbacks to use sockaddr_unsizedKees Cook1-1/+1
2025-11-04xsk: use a smaller new lock for shared pool caseJason Xing2-10/+8
2025-11-04xsk: do not enable/disable irq when grabbing/releasing xsk_tx_list_lockJason Xing1-8/+4
2025-10-10xsk: Harden userspace-supplied xdp_desc validationAlexander Lobakin1-10/+35
2025-09-26xsk: wrap generic metadata handling onto separate functionMaciej Fijalkowski1-39/+53
2025-09-26xsk: remove @first_frag from xsk_build_skb()Maciej Fijalkowski1-5/+3
2025-09-26xsk: avoid overwriting skb fields for multi-buffer trafficMaciej Fijalkowski1-8/+9
2025-09-09xsk: Fix immature cq descriptor productionMaciej Fijalkowski2-14/+111
2025-07-10net: xsk: introduce XDP_MAX_TX_SKB_BUDGET setsockoptJason Xing1-2/+19
2025-07-08net: xsk: update tx queue consumer immediately after transmissionJason Xing1-7/+10
2025-06-23net: remove sock_i_uid()Eric Dumazet1-1/+1
2025-05-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-05-21xsk: Bring back busy polling support in XDP_COPYSamiullah Khawaja1-1/+1
2025-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-3/+4
2025-04-24xsk: Fix race condition in AF_XDP generic RX pathe.kubanski2-3/+4
2025-04-09net: designate XSK pool pointers in queues as "ops protected"Jakub Kicinski1-1/+5
2025-04-02xsk: Fix __xsk_generic_xmit() error code when cq is fullWang Liang1-1/+4
2025-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-1/+1
2025-03-19xsk: fix an integer overflow in xp_create_and_assign_umem()Gavrilov Ilia1-1/+1
2025-03-08net: move misc netdev_lock flavors to a separate headerJakub Kicinski2-0/+2
2025-03-06net: hold netdev instance lock during ndo_bpfStanislav Fomichev2-0/+5
2025-02-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+3
2025-02-20xsk: Add launch time hardware offload support to XDP Tx metadataSong Yoong Siang1-0/+3
2025-02-17net: use napi_id_valid helperStefano Jordhani1-1/+1
2025-02-10xsk: add helper to get &xdp_desc's DMA and meta pointer in one goAlexander Lobakin1-4/+42
2025-01-10xsk: Bring back busy polling supportStanislav Fomichev1-5/+9
2024-11-25xsk: always clear DMA mapping information when unmapping the poolLarysa Zaremba1-3/+2
2024-11-25xsk: fix OOB map writes when deleting elementsMaciej Fijalkowski1-1/+1
2024-11-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-5/+6
2024-11-15xsk: Free skb when TX metadata options are invalidFelix Maurer1-5/+6
2024-10-14xsk: Use xsk_buff_pool directly for cq functionsMaciej Fijalkowski1-16/+16
2024-10-14xsk: Wrap duplicated code to functionMaciej Fijalkowski1-16/+18
2024-10-14xsk: Carry a copy of xdp_zc_max_segs within xsk_buff_poolMaciej Fijalkowski2-1/+2
2024-10-14xsk: Get rid of xdp_buff_xsk::orig_addrMaciej Fijalkowski2-2/+4
2024-10-14xsk: s/free_list_node/list_node/Maciej Fijalkowski2-9/+9
2024-10-14xsk: Get rid of xdp_buff_xsk::xskb_list_nodeMaciej Fijalkowski2-3/+2
2024-09-21Merge tag 'bpf-next-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds1-11/+12
2024-09-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+18
2024-09-13xsk: fix batch alloc API on non-coherent systemsMaciej Fijalkowski1-7/+18
2024-09-12Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski2-6/+9
2024-09-11netdev: support binding dma-buf to netdeviceMina Almasry1-0/+5
2024-09-05xsk: Bump xsk_queue::queue_empty_descs in xp_can_alloc()Maciej Fijalkowski2-6/+9
2024-07-30xsk: Try to make xdp_umem_reg extension a bit more future-proofStanislav Fomichev1-11/+12
2024-07-25xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_lenStanislav Fomichev1-3/+6
2024-07-02net: Move flush list retrieval to where it is used.Sebastian Andrzej Siewior1-2/+4
2024-07-02net: Optimize xdp_do_flush() with bpf_net_context infos.Sebastian Andrzej Siewior1-12/+1
2024-06-24net: Move per-CPU flush-lists to bpf_net_context on PREEMPT_RT.Sebastian Andrzej Siewior1-8/+4
2024-06-05Revert "xsk: Support redirect to any socket bound to the same umem"Magnus Karlsson1-4/+1
2024-05-08xsk: use generic DMA sync shortcut instead of a custom oneAlexander Lobakin1-25/+4
2024-04-05xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RINGEric Dumazet1-0/+2
2024-03-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+4
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2024-02-13xsk: Add truesize to skb_add_rx_frag().Sebastian Andrzej Siewior1-1/+2
2024-02-05xsk: support redirect to any socket bound to the same umemMagnus Karlsson1-1/+4
2024-01-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-4/+9
2024-01-24xsk: make xsk_buff_pool responsible for clearing xdp_buff::flagsMaciej Fijalkowski1-0/+1
2024-01-24xsk: recycle buffer in case Rx queue was fullMaciej Fijalkowski1-4/+8
2024-01-23sock_diag: add module pointer to "struct sock_diag_handler"Eric Dumazet1-0/+1
2023-12-18Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+12
2023-12-13xsk: add functions to fill control bufferMaciej Fijalkowski1-0/+12
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+2
2023-12-05xsk: Skip polling event check for unbound socketYewon Choi1-3/+2
2023-11-29xsk: Add option to calculate TX checksum in SWStanislav Fomichev3-1/+13
2023-11-29xsk: Validate xsk_tx_metadata flagsStanislav Fomichev1-0/+4
2023-11-29xsk: Add TX timestamp and TX checksum offload supportStanislav Fomichev2-1/+35
2023-11-29xsk: Support tx_metadata_lenStanislav Fomichev4-8/+26
2023-11-19net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modulesJakub Kicinski1-0/+1
2023-10-24xsk: Avoid starving the xsk further down the listAlbert Huang1-0/+18
2023-10-17net, bpf: Add a warning if NAPI cb missed xdp_do_flush().Sebastian Andrzej Siewior1-0/+10
2023-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+10
2023-10-09xdp: Fix zero-size allocation warning in xskq_create()Andrew Kanner1-0/+10
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet1-1/+1
2023-09-15xsk: add multi-buffer support for sockets sharing umemTirthendu Sarkar2-1/+4
2023-08-31xsk: Fix xsk_diag use-after-free error during socket cleanupMagnus Karlsson1-0/+3
2023-08-30xsk: Fix xsk_build_skb() error: 'skb' dereferencing possible ERR_PTR()Tirthendu Sarkar1-9/+13
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2023-08-09xsk: fix refcount underflow in error pathMagnus Karlsson1-0/+1
2023-08-03Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+1
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-08-03net: move struct netdev_rx_queue out of netdevice.hJakub Kicinski1-0/+1
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-07-19xsk: support ZC Tx multi-buffer in batch APIMaciej Fijalkowski1-9/+36
2023-07-19xsk: support mbuf on ZC RXMaciej Fijalkowski2-1/+32
2023-07-19xsk: discard zero length descriptors in Tx pathTirthendu Sarkar1-0/+6
2023-07-19xsk: add support for AF_XDP multi-buffer on Tx pathTirthendu Sarkar2-33/+100
2023-07-19xsk: introduce wrappers and helpers for supporting multi-buffer in Tx pathTirthendu Sarkar2-32/+61
2023-07-19xsk: add support for AF_XDP multi-buffer on Rx pathTirthendu Sarkar1-23/+87
2023-07-19xsk: move xdp_buff's data length check to xsk_rcv_checkTirthendu Sarkar1-14/+13
2023-07-19xsk: prepare both copy and zero-copy modes to co-existMaciej Fijalkowski1-4/+13
2023-07-19xsk: introduce XSK_USE_SG bind flag for xsk socketTirthendu Sarkar1-2/+3
2023-07-19xsk: prepare 'options' in xdp_desc for multi-buffer useTirthendu Sarkar2-7/+13
2023-07-04xsk: Honor SO_BINDTODEVICE on bindIlya Maximets1-0/+5
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds3-8/+4
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-1/+0
2023-06-19bpf: Centralize permissions checks for all BPF map typesAndrii Nakryiko1-4/+0
2023-06-09mm/gup: remove vmas parameter from pin_user_pages()Lorenzo Stoakes1-1/+1
2023-04-27xsk: Use pool->dma_pages to check for DMAKal Conley1-3/+4
2023-04-13Daniel Borkmann says:Jakub Kicinski3-20/+16
2023-04-13xsk: Elide base_addr comparison in xp_unaligned_validate_descKal Conley1-6/+2
2023-04-13xsk: Simplify xp_aligned_validate_desc implementationKal Conley1-8/+4
2023-04-06xsk: Fix unaligned descriptor validationKal Conley1-0/+1
2023-03-25xsk: allow remap of fill and/or completion ringsNuno Gonçalves1-3/+6
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+7
2023-03-22bpf: return long from bpf_map_ops funcsJP Kobryn1-4/+4
2023-03-16xsk: Add missing overflow check in xdp_umem_regKal Conley1-6/+7
2023-03-07bpf, net: xskmap memory usageYafang Shao1-0/+13
2023-02-21xsk: add linux/vmalloc.h to xsk.cXuan Zhuo1-0/+1
2023-02-20Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-26/+33
2023-02-20xsk: support use vaddr as ringXuan Zhuo3-13/+8
2023-02-17xsk: check IFF_UP earlier in Tx pathMaciej Fijalkowski1-26/+33
2023-02-15net: no longer support SOCK_REFCNT_DEBUG featureJason Xing1-4/+0
2023-02-02xsk: add usage of XDP features flagsMarek Majtyka1-2/+5
2022-11-15bpf: Expand map key argument of bpf_redirect_map to u64Toke Høiland-Jørgensen1-2/+2
2022-10-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-27/+26
2022-09-30xsk: Expose min chunk size to driversMaxim Mikityanskiy1-2/+0
2022-09-22xsk: Inherit need_wakeup flag for shared socketsJalal Mostafa2-4/+5
2022-08-31xsk: Fix backpressure mechanism on TxMaciej Fijalkowski2-23/+21
2022-08-15xsk: Fix corrupted packets for XDP_SHARED_UMEMMagnus Karlsson1-6/+10
2022-07-14xsk: Mark napi_id on sendmsg()Maciej Fijalkowski1-1/+4
2022-07-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-06-28xsk: Clear page contiguity bit when unmapping poolIvan Malov1-0/+1
2022-06-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+9
2022-06-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-3/+3
2022-06-14xsk: Fix generic transmit when completion queue reservation failsCiara Loftus1-7/+9
2022-06-08xsk: Fix handling of invalid descriptors in XSK TX batching APIMaciej Fijalkowski2-10/+3
2022-06-02xdp: Directly use ida_alloc()/free() APIsKe Liu1-3/+3
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-5/+26
2022-04-26bpf: Compute map_btf_id during build timeMenglong Dong1-3/+3
2022-04-26xsk: Fix possible crash when multiple sockets are createdMaciej Fijalkowski2-4/+25
2022-04-15xsk: Drop ternary operator from xskq_cons_has_entriesMaciej Fijalkowski1-1/+1
2022-04-15xsk: Diversify return codes in xsk_rcv_check()Maciej Fijalkowski1-1/+1
2022-04-15xsk: Improve xdp_do_redirect() error codesBjörn Töpel2-2/+2
2022-04-07xsk: Fix l2fwd for copy mode + busy poll comboMaciej Fijalkowski1-1/+1
2022-03-28xsk: Do not write NULL in SW ring at allocation failureMagnus Karlsson1-2/+6
2022-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-19/+50
2022-02-28xsk: Fix race at socket teardownMagnus Karlsson1-19/+50
2022-01-27i40e: xsk: Move tmp desc array from driver to poolMagnus Karlsson3-13/+19
2022-01-26bpf: remove unused static inlinesJakub Kicinski1-7/+0
2022-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-12-31Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfJakub Kicinski1-2/+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-0/+1
2021-12-29xsk: Initialise xskb free_list_nodeCiara Loftus1-0/+1
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-12-17Revert "xsk: Do not sleep in poll() when need_wakeup set"Magnus Karlsson1-2/+2
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-12-14xsk: Do not sleep in poll() when need_wakeup setMagnus Karlsson1-2/+2
2021-11-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+5
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-4/+0
2021-11-12xsk: Fix crash on double free in buffer poolMagnus Karlsson1-2/+5
2021-09-29xsk: Fix clang build error in __xp_allocMagnus Karlsson1-1/+0
2021-09-28xsk: Optimize for aligned caseMagnus Karlsson2-37/+34
2021-09-28xsk: Batched buffer allocation for the poolMagnus Karlsson2-4/+95
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+7
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1