diff options
| author | KP Singh <[email protected]> | 2020-08-25 18:29:14 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-08-25 22:00:03 +0000 |
| commit | 4cc9ce4e739961a7b9e6b2f3b27a72124d356373 (patch) | |
| tree | 0c3c8823c8857a15d185ed8c59e4cd00f307adb8 /security/bpf/hooks.c | |
| parent | bpf: Renames in preparation for bpf_local_storage (diff) | |
| download | kernel-4cc9ce4e739961a7b9e6b2f3b27a72124d356373.tar.gz kernel-4cc9ce4e739961a7b9e6b2f3b27a72124d356373.zip | |
bpf: Generalize caching for sk_storage.
Provide the a ability to define local storage caches on a per-object
type basis. The caches and caching indices for different objects should
not be inter-mixed as suggested in:
https://lore.kernel.org/bpf/[email protected]/
"Caching a sk-storage at idx=0 of a sk should not stop an
inode-storage to be cached at the same idx of a inode."
Signed-off-by: KP Singh <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'security/bpf/hooks.c')
0 files changed, 0 insertions, 0 deletions
