]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Fix crash on macvlan link down/up 15010/head
authorTomi Salminen <tlsalmin@gmail.com>
Wed, 13 Dec 2023 09:37:21 +0000 (11:37 +0200)
committerTomi Salminen <tlsalmin@gmail.com>
Wed, 13 Dec 2023 09:49:21 +0000 (11:49 +0200)
commitbdf6a9ba810b58146371e8a0000397d2ae9ea956
treefdbbfaecd06319136175f67d29cf47022bc713c1
parentec1e9f4ba274ad3e0311e4cfe9ffb68a677a11b9
zebra: Fix crash on macvlan link down/up

Whenever a link up change was detected on a macvlan device where
the linked device wasn't visible in the namespace zebra was
running in, the linked zebra interface was NULL. This was already
handled in the event of a link down, but was ommitted from the
upside. Added the same null check to the up-side.

Signed-off-by: Tomi Salminen <tlsalmin@gmail.com>
zebra/zebra_vxlan.c