aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWilliam Dauchy <[email protected]>2020-03-27 19:56:39 +0100
committerDavid S. Miller <[email protected]>2020-03-29 22:16:27 -0700
commit25629fdaff2ff509dd0b3f5ff93d70a75e79e0a1 (patch)
treed41a8e35c562b821cc07b38c5673e2e6a473c492 /tools/perf/scripts/python/export-to-sqlite.py
parent582eea230536a6f104097dd46205822005d5fe3a (diff)
net, ip_tunnel: fix interface lookup with no key
when creating a new ipip interface with no local/remote configuration, the lookup is done with TUNNEL_NO_KEY flag, making it impossible to match the new interface (only possible match being fallback or metada case interface); e.g: `ip link add tunl1 type ipip dev eth0` To fix this case, adding a flag check before the key comparison so we permit to match an interface with no local/remote config; it also avoids breaking possible userland tools relying on TUNNEL_NO_KEY flag and uninitialised key. context being on my side, I'm creating an extra ipip interface attached to the physical one, and moving it to a dedicated namespace. Fixes: c54419321455 ("GRE: Refactor GRE tunneling code.") Signed-off-by: William Dauchy <[email protected]> Signed-off-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions