Re: [PATCH bpf-next v3 01/16] bpf, netns: Handle multiple link attachments

2020-07-10 Thread Jakub Sitnicki
On Fri, Jul 10, 2020 at 12:02 AM CEST, Andrii Nakryiko wrote: > On Thu, Jul 9, 2020 at 5:49 AM Jakub Sitnicki wrote: >> >> On Thu, Jul 09, 2020 at 05:44 AM CEST, Andrii Nakryiko wrote: >> > On Thu, Jul 2, 2020 at 2:24 AM Jakub Sitnicki wrote: >> >> >> >> Extend the BPF netns link callbacks to reb

Re: [PATCH bpf-next v3 01/16] bpf, netns: Handle multiple link attachments

2020-07-09 Thread Andrii Nakryiko
On Thu, Jul 9, 2020 at 5:49 AM Jakub Sitnicki wrote: > > On Thu, Jul 09, 2020 at 05:44 AM CEST, Andrii Nakryiko wrote: > > On Thu, Jul 2, 2020 at 2:24 AM Jakub Sitnicki wrote: > >> > >> Extend the BPF netns link callbacks to rebuild (grow/shrink) or update the > >> prog_array at given position wh

Re: [PATCH bpf-next v3 01/16] bpf, netns: Handle multiple link attachments

2020-07-09 Thread Jakub Sitnicki
On Thu, Jul 09, 2020 at 05:44 AM CEST, Andrii Nakryiko wrote: > On Thu, Jul 2, 2020 at 2:24 AM Jakub Sitnicki wrote: >> >> Extend the BPF netns link callbacks to rebuild (grow/shrink) or update the >> prog_array at given position when link gets attached/updated/released. >> >> This let's us lift t

Re: [PATCH bpf-next v3 01/16] bpf, netns: Handle multiple link attachments

2020-07-08 Thread Andrii Nakryiko
On Thu, Jul 2, 2020 at 2:24 AM Jakub Sitnicki wrote: > > Extend the BPF netns link callbacks to rebuild (grow/shrink) or update the > prog_array at given position when link gets attached/updated/released. > > This let's us lift the limit of having just one link attached for the new > attach type i

[PATCH bpf-next v3 01/16] bpf, netns: Handle multiple link attachments

2020-07-02 Thread Jakub Sitnicki
Extend the BPF netns link callbacks to rebuild (grow/shrink) or update the prog_array at given position when link gets attached/updated/released. This let's us lift the limit of having just one link attached for the new attach type introduced by subsequent patch. No functional changes intended.