aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorYulong Pei <yulong.pei@intel.com>2023-01-25 07:41:19 +0000
committerBeno�t Ganne <bganne@cisco.com>2023-02-02 09:03:08 +0000
commit231a3659abda32d12f5599f3dd15be6e3a4f0ab8 (patch)
tree4fe89bb38a87ecbaee50e54b43d9a1a3aae692b5 /src/vnet
parent2d1a62bfddbba92a0aeec5c68e9b0a7903b178da (diff)
af_xdp: fix default xdp program unload fail
Change to get ad->linux_ifindex in af_xdp_create_if() instead of in af_xdp_load_program(), previous if did not load custom XDP program, ad->linux_ifindex will be none, but bpf_xdp_detach() need it, so default xdp program will be not unloaded when delete af_xdp interface. Type: fix Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: Id8a640204e8d29152f03349a0b58104b275635aa
Diffstat (limited to 'src/vnet')
0 files changed, 0 insertions, 0 deletions