]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Fix crash on *BSD
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 2 May 2018 03:24:53 +0000 (23:24 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 2 May 2018 03:24:53 +0000 (23:24 -0400)
commit898a23caa76f6755f45fce937dd09026abbd7dd8
treef134701164583901cfed3ce73954fe7337d317c1
parent4fb6f519289a3e8bf7f72f86fe5cde6f5a3034b6
zebra: Fix crash on *BSD

The zns->ns pointer is not created until we get a callback
from the kernel that a ns exists.  This should potentially
fix a crash in the *BSD code path.

Fixes: #2152
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/kernel_socket.c