Re: [PATCH bpf-next v3 2/4] bpf: support cloning sk storage on accept()

2019-08-14 Thread Stanislav Fomichev
On Wed, Aug 14, 2019 at 10:28 AM Martin Lau wrote: > > On Tue, Aug 13, 2019 at 09:26:28AM -0700, Stanislav Fomichev wrote: > > Add new helper bpf_sk_storage_clone which optionally clones sk storage > > and call it from sk_clone_lock. > Acked-by: Martin KaFai Lau Thanks! Will send out a v4 to addr

Re: [PATCH bpf-next v3 2/4] bpf: support cloning sk storage on accept()

2019-08-14 Thread Martin Lau
On Tue, Aug 13, 2019 at 09:26:28AM -0700, Stanislav Fomichev wrote: > Add new helper bpf_sk_storage_clone which optionally clones sk storage > and call it from sk_clone_lock. Acked-by: Martin KaFai Lau

Re: [PATCH bpf-next v3 2/4] bpf: support cloning sk storage on accept()

2019-08-13 Thread Stanislav Fomichev
On 08/13, Yonghong Song wrote: > > > On 8/13/19 9:26 AM, Stanislav Fomichev wrote: > > Add new helper bpf_sk_storage_clone which optionally clones sk storage > > and call it from sk_clone_lock. > > > > Cc: Martin KaFai Lau > > Cc: Yonghong Song > > Acked-by: Yonghong Song > > Signed-off-by: S

Re: [PATCH bpf-next v3 2/4] bpf: support cloning sk storage on accept()

2019-08-13 Thread Yonghong Song
On 8/13/19 9:26 AM, Stanislav Fomichev wrote: > Add new helper bpf_sk_storage_clone which optionally clones sk storage > and call it from sk_clone_lock. > > Cc: Martin KaFai Lau > Cc: Yonghong Song > Acked-by: Yonghong Song > Signed-off-by: Stanislav Fomichev > --- > include/net/bpf_sk_sto

[PATCH bpf-next v3 2/4] bpf: support cloning sk storage on accept()

2019-08-13 Thread Stanislav Fomichev
Add new helper bpf_sk_storage_clone which optionally clones sk storage and call it from sk_clone_lock. Cc: Martin KaFai Lau Cc: Yonghong Song Acked-by: Yonghong Song Signed-off-by: Stanislav Fomichev --- include/net/bpf_sk_storage.h | 10 include/uapi/linux/bpf.h | 3 + net/core/b