diff options
author | 2023-01-25 07:41:19 +0000 | |
---|---|---|
committer | 2023-02-02 09:03:08 +0000 | |
commit | 231a3659abda32d12f5599f3dd15be6e3a4f0ab8 (patch) | |
tree | 4fe89bb38a87ecbaee50e54b43d9a1a3aae692b5 /extras/packetforge/parsegraph/nodes | |
parent | 2d1a62bfddbba92a0aeec5c68e9b0a7903b178da (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 'extras/packetforge/parsegraph/nodes')
0 files changed, 0 insertions, 0 deletions