Thread (14 messages) flat view 14 messages, 3 authors, 2020-11-26

Re: [PATCH v2 4/5] bpf: Add an iterator selftest for bpf_sk_storage_delete

From: Martin KaFai Lau <hidden>
Date: 2020-11-20 00:17:42
Also in: bpf, lkml

On Thu, Nov 19, 2020 at 05:26:53PM +0100, Florent Revest wrote:
From: Florent Revest <redacted>

The eBPF program iterates over all entries (well, only one) of a socket
local storage map and deletes them all. The test makes sure that the
entry is indeed deleted.
Note that if there are many entries and seq->op->stop() is called (due to
seq_has_overflowed()).  It is possible that not all of the entries will be
iterated (and deleted).  However, I think it is a more generic issue in
resuming the iteration and not specific to this series.

Acked-by: Martin KaFai Lau <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help