Thread (38 messages) 38 messages, 4 authors, 2021-11-11

Re: [PATCH v17 bpf-next 12/23] bpf: add multi-buff support to the bpf_xdp_adjust_tail() API

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2021-11-05 13:57:57
Also in: bpf

On Thu,  4 Nov 2021 18:35:32 +0100 Lorenzo Bianconi wrote:
quoted
+static int bpf_xdp_mb_shrink_tail(struct xdp_buff *xdp, int offset)
+{
+	struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp);
+	int i, n_frags_free = 0, len_free = 0, tlen_free = 0;
clang says tlen_free set but not used.
ack, right. It is a leftover of a previous refactor. I will wait for other
feedbacks and then I will repost. Thanks :)

Regards,
Lorenzo

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help