diff options
| author | Cong Wang <[email protected]> | 2021-03-31 02:32:22 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-04-01 17:56:13 +0000 |
| commit | 37f0e514db660f03f8982b8f4fbbd4b2740abe7d (patch) | |
| tree | 9f61d1b5c885e8cf94ecd575fbc487c5570c2f68 /tools/bpf/bpftool/prog.c | |
| parent | tools/resolve_btfids: Fix warnings (diff) | |
| download | kernel-37f0e514db660f03f8982b8f4fbbd4b2740abe7d.tar.gz kernel-37f0e514db660f03f8982b8f4fbbd4b2740abe7d.zip | |
skmsg: Lock ingress_skb when purging
Currently we purge the ingress_skb queue only when psock
refcnt goes down to 0, so locking the queue is not necessary,
but in order to be called during ->close, we have to lock it
here.
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Jakub Sitnicki <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
