diff options
author | Matteo Croce <mcroce@redhat.com> | 2018-12-01 01:23:06 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-11-30 22:06:41 -0800 |
commit | dc378a1ab5b6009629a3f8410f8b3030ac6b14c9 (patch) | |
tree | cdd8e745aba4dd3f7eeb1c8d4c6630e2deb4f56a /virt | |
parent | d606ee5c1d9a9bc4d1bba3c36fae615447f9851c (diff) | |
download | linux-dc378a1ab5b6009629a3f8410f8b3030ac6b14c9.tar.gz linux-dc378a1ab5b6009629a3f8410f8b3030ac6b14c9.tar.bz2 linux-dc378a1ab5b6009629a3f8410f8b3030ac6b14c9.zip |
samples: bpf: get ifindex from ifname
Find the ifindex with if_nametoindex() instead of requiring the
numeric ifindex.
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions