Re: [PATCH bpf-next v9 3/7] bpf: Generalize bpf_sk_storage

2020-08-24 Thread Martin KaFai Lau
On Sun, Aug 23, 2020 at 06:56:08PM +0200, KP Singh wrote: > From: KP Singh > > Refactor the functionality in bpf_sk_storage.c so that concept of > storage linked to kernel objects can be extended to other objects like > inode, task_struct etc. > > Each new local storage will still be a separate

[PATCH bpf-next v9 3/7] bpf: Generalize bpf_sk_storage

2020-08-23 Thread KP Singh
From: KP Singh Refactor the functionality in bpf_sk_storage.c so that concept of storage linked to kernel objects can be extended to other objects like inode, task_struct etc. Each new local storage will still be a separate map and provide its own set of helpers. This allows for future object