summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-09-01 14:53:09 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-28 12:41:00 -0400
commit8f830b8c64622099d4a6d3cc12dbc2f8009b45e2 (patch)
tree67369ed9e4f6b5c7a4e2771c435b4aabff52e41a /python
parent391c7a3b18c4892313b793740ca3612a67a633d8 (diff)
zebra: use list to mark for removal when scoring
In scoring our NHEs during shutdown there is a chance we could release mutliple NHEs at the same time during one iteration. This can cause memory corruption if the two being released are directly next to each other in the hash table. hash_iterate accounts for releasing one during the iteration but not two by setting hbnext before release but if hbnext is also freed, we obviously can have a problem. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions