bpf, xdp: Implement LINK_UPDATE for BPF XDP link
authorAndrii Nakryiko <andriin@fb.com>
Wed, 22 Jul 2020 06:45:58 +0000 (23:45 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 26 Jul 2020 03:37:02 +0000 (20:37 -0700)
commit026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74
treeaaf5102f8f78022807ee0b083782e41e6b2ad527
parentaa8d3a716b59db6c1ad6c68fb8aa05e31980da60
bpf, xdp: Implement LINK_UPDATE for BPF XDP link

Add support for LINK_UPDATE command for BPF XDP link to enable reliable
replacement of underlying BPF program.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200722064603.3350758-6-andriin@fb.com
net/core/dev.c