diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-02-27 14:00:41 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-28 09:50:35 -0500 |
| commit | 16d91fce151c16b81fa5554de9fec89dfc16ecae (patch) | |
| tree | daced063bd28f6c95abb3cfe9d489f1c16a3f7b1 /zebra/kernel_socket.c | |
| parent | 47ed380ba4febc72259ea68c397368beb059d32a (diff) | |
zebra: Prevent crash if ZEBRA_ROUTE_ALL is used for a route type
FRR will crash when the re->type is a ZEBRA_ROUTE_ALL and it
is inserted into the meta-queue. Let's just put some basic
code in place to prevent a crash from happening. No routing
protocol should be using ZEBRA_ROUTE_ALL as a value but
bugs do happen. Let's just accept the weird route type
gracefully and move on.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions
