summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-04 13:38:25 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-08-04 13:38:25 -0400
commit6140b3b41b37fcd0fac23ed11f9fa9df1db36b3c (patch)
tree8a98ba27abc238b3e34137c52c82580d7d3168fc /tests/topotests/lib/common_config.py
parentb7457b40cd77e0f3e6b45a77232af64aba17aea3 (diff)
zebra: prevent crash when nhlfe is NULL
There exists a call path where the nhlfe_alloc can return NULL for blackhole nexthops. In this case we were still trying to save the nhlfe pointer causing a crash when we attempted to add it to a self-contained list. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/lib/common_config.py')
0 files changed, 0 insertions, 0 deletions