diff options
author | Andrew Lunn <[email protected]> | 2016-07-03 13:31:33 +0200 |
---|---|---|
committer | Simon Wunderlich <[email protected]> | 2016-08-09 07:54:35 +0200 |
commit | 275019d2f00ed93e800f505a7b6f9e8ecf396898 (patch) | |
tree | 2040cd321481499668914820fb7a34c49e939db7 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | b5dcbad25219b82408e15e6d775a406be2116af1 (diff) |
batman-adv: Handle parent interfaces in a different netns
batman-adv tries to prevent the user from placing a batX soft
interface into another batman mesh as a hard interface. It does this
by walking up the devices list of parents and ensures they are all
none batX interfaces. iflink can point to an interface in a different
namespace, so also retrieve the parents name space when finding the
parent and use it when doing the comparison.
Signed-off-by: Andrew Lunn <[email protected]>
[[email protected]: Fix alignments, simplify parent netns retrieval]
Signed-off-by: Sven Eckelmann <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions