diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-09-12 13:04:22 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-15 18:07:12 -0700 |
| commit | cf3302111b1a5c2b56127579ca51bdd20c70c0fe (patch) | |
| tree | 3ae1be2de07083e3d29ada9c704e63a09424ddca /tools/lib/python/kdoc/python_version.py | |
| parent | fbcd35eb1871fb7df3a5dbb0ffa05f15b83207a0 (diff) | |
psp: don't report the main netdevice's ifindex to associated namespaces
PSP device is visible in a netns if any of the devices (eg. netkit)
are associated with that PSP device. In the main netns we show
all the associated netdevs + their netns id. In the "container"
netns we show only the local devices. But we were listing the main
netdev in all cases, even though it's meaningless outside of
the main netns.
Report ifindex only in the main netdevice's namespace. Absence is
already unambiguous, the by-association flag is set exactly in the
messages which no longer carry the ifindex.
Reviewed-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20260912200426.121025-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
