diff options
| author | Xiao Liang <shaw.leon@gmail.com> | 2022-02-15 12:14:57 +0800 |
|---|---|---|
| committer | Xiao Liang <shaw.leon@gmail.com> | 2022-02-28 12:12:15 +0800 |
| commit | 86bad1cb6e6b5c08a1aa24cf16d401ad872d1bd6 (patch) | |
| tree | 400229fa1ba780fdb6d964eb744ede4fafd2ba9f /lib/northbound_grpc.cpp | |
| parent | ae45a630222b53b02d8fc7cd84bb24d8744cd09c (diff) | |
zebra: Lookup linked interface in link netns
Look up linked interface in the correct netns, otherwise, either a wrong
interface or NULL would be used.
For example, enable VRF netns backend, and:
ip netns add ns1
ip link add link eth0 link1 type macvlan
ip link set link1 netns ns1 up
Zebra will crash in zebra_vxlan_macvlan_up because zif->link is NULL.
Signed-off-by: Xiao Liang <shaw.leon@gmail.com>
Diffstat (limited to 'lib/northbound_grpc.cpp')
0 files changed, 0 insertions, 0 deletions
