diff options
author | Denys Haryachyy <garyachy@users.noreply.github.com> | 2023-11-17 11:58:41 +0200 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2024-06-25 18:49:05 +0000 |
commit | 1b794cf1b639534b58ea7eab4baadff11bd3d19e (patch) | |
tree | 8a894753574150cb5835855004a475c7229460c0 /src/vppinfra/unix-misc.c | |
parent | 3eb91a5d62d4cc80f8390e25306397f86c1ae7df (diff) |
linux-cp: populate mapping vif-sw_if_index only for default-ns
When custom netns is used we don't need to populate the mapping
ifindex->sw_if_index otherwise netlink events in default-ns can apply settings
to wrong interfaces. Most of the lcp functions however wasn't working for such
interfaces and neither it was fixed by this patch.
Type: fix
Change-Id: I74a8a4e332753f9a40fc291d489dfd7fc51cbef3
Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
Diffstat (limited to 'src/vppinfra/unix-misc.c')
0 files changed, 0 insertions, 0 deletions