summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-07-22 08:45:56 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-07-26 05:37:02 +0200
commitd4baa9368a5e4d694e787e0442ddd6ab95d6fd96 (patch)
tree1bb6e81dd5b28c224b1f28ee9817f0779971f3a1 /net/llc
parentbpf, xdp: Maintain info on attached XDP BPF programs in net_device (diff)
downloadlinux-d4baa9368a5e4d694e787e0442ddd6ab95d6fd96.tar.xz
linux-d4baa9368a5e4d694e787e0442ddd6ab95d6fd96.zip
bpf, xdp: Extract common XDP program attachment logic
Further refactor XDP attachment code. dev_change_xdp_fd() is split into two parts: getting bpf_progs from FDs and attachment logic, working with bpf_progs. This makes attachment logic a bit more straightforward and prepares code for bpf_xdp_link inclusion, which will share the common logic. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200722064603.3350758-4-andriin@fb.com
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions