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 ====================
Showing the changes to include (1 of 6 files). Show all
Unified · Split
| @@ -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); |
| 98 | int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem, | 98 | int 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); |
| 100 | int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs); | ||
| 100 | void xp_destroy(struct xsk_buff_pool *pool); | 101 | void xp_destroy(struct xsk_buff_pool *pool); |
| 101 | void xp_get_pool(struct xsk_buff_pool *pool); | 102 | void xp_get_pool(struct xsk_buff_pool *pool); |
| 102 | bool xp_put_pool(struct xsk_buff_pool *pool); | 103 | bool xp_put_pool(struct xsk_buff_pool *pool); |