diff options
author | Jakub Sitnicki <jakub@cloudflare.com> | 2020-07-17 12:35:22 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-17 20:18:16 -0700 |
commit | ce3aa9cc5109363099b7c4ac82e2c9768afcaf31 (patch) | |
tree | eeb94dffcd871572d88389730be81a9448663fd6 /scripts/bpf_helpers_doc.py | |
parent | bfdfa51702dec67e9fcd52568b4cf3c7f799db8b (diff) | |
download | lwn-ce3aa9cc5109363099b7c4ac82e2c9768afcaf31.tar.gz lwn-ce3aa9cc5109363099b7c4ac82e2c9768afcaf31.zip |
bpf, netns: Handle multiple link attachments
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.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200717103536.397595-2-jakub@cloudflare.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions