Message ID | 20230901231129.578493-3-martin.lau@linux.dev (mailing list archive) |
---|---|
State | Accepted |
Commit | 55d49f750b1cb1f177fb1b00ae02cba4613bcfb7 |
Delegated to: | BPF |
Headers | show |
Series | bpf: Fixes for bpf_sk_storage | expand |
diff --git a/kernel/bpf/bpf_local_storage.c b/kernel/bpf/bpf_local_storage.c index 37ad47d52dc5..146824cc9689 100644 --- a/kernel/bpf/bpf_local_storage.c +++ b/kernel/bpf/bpf_local_storage.c @@ -760,7 +760,7 @@ void bpf_local_storage_destroy(struct bpf_local_storage *local_storage) * of the loop will set the free_cgroup_storage to true. */ free_storage = bpf_selem_unlink_storage_nolock( - local_storage, selem, false, true); + local_storage, selem, true, true); } raw_spin_unlock_irqrestore(&local_storage->lock, flags);