History

Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf

Daniel Borkmann says: ==================== pull-request: bpf 2022-04-27 We've added 5 non-merge commits during the last 20 day(s) which contain a total of 6 files changed, 34 insertions(+), 12 deletions(-). The main changes are: 1) Fix xsk sockets when rx and tx are separately bound to the same umem, also fix xsk copy mode combined with busy poll, from Maciej Fijalkowski. 2) Fix BPF tunnel/collect_md helpers with bpf_xmit lwt hook usage which triggered a crash due to invalid metadata_dst access, from Eyal Birger. 3) Fix release of page pool in XDP live packet mode, from Toke Høiland-Jørgensen. 4) Fix potential NULL pointer dereference in kretprobes, from Adam Zabrocki. (Masami & Steven preferred this small fix to be routed via bpf tree given it's follow-up fix to Masami's rethook work that went via bpf earlier, too.) * https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf: xsk: Fix possible crash when multiple sockets are created kprobes: Fix KRETPROBES when CONFIG_KRETPROBE_ON_RETHOOK is set bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook bpf: Fix release of page_pool in BPF_PROG_RUN in test runner xsk: Fix l2fwd for copy mode + busy poll combo ====================

Jakub Kicinski committed 4 years ago

Commit 347cb5d2 parents 7b5148b ba3beec6 files · +34 −12Browse files

Showing the changes to include (1 of 6 files). Show all

Unified · Split

include/net/xsk_buff_pool.h+1−0
@@ -97,6 +97,7 @@ int xp_assign_dev(struct xsk_buff_pool *pool, struct net_device *dev, · 96 unmodified lines
97 u16 queue_id, u16 flags);97 u16 queue_id, u16 flags);
98int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem,98int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem,
99 struct net_device *dev, u16 queue_id);99 struct net_device *dev, u16 queue_id);
100int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs);
100void xp_destroy(struct xsk_buff_pool *pool);101void xp_destroy(struct xsk_buff_pool *pool);
101void xp_get_pool(struct xsk_buff_pool *pool);102void xp_get_pool(struct xsk_buff_pool *pool);
102bool xp_put_pool(struct xsk_buff_pool *pool);103bool xp_put_pool(struct xsk_buff_pool *pool);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t