Potential memory leak of inherited local nexthop in ospfd #11709
Unanswered
johndoe2012
asked this question in
Q&A
Replies: 1 comment
-
There is, in fact, a memory leak here but it is fixed in later releases. The commit is: commit b3bcfd3
I'd advise either moving to a later release or backporting the fix. Thanks, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
we deployed frr8.1 and in our testing we detect memory leak in ospfd OSPF nexthop
It is still uncleared to us what scenario/ospf interaction triggers it, but preliminary code inspection and debugging link the memory leak to inherit local nexthop alloc https://github.com/FRRouting/frr/blob/master/ospfd/ospf_spf.c#L1135-L1142. it does not seem to be freed by ospf_spf_cleanup or anywhere. we are not sure how the local nexthop is been used by ti-lfa (we don't have it enabled) without dig into the code more.
can anyone with context shed some light on where such inherited local nexthop is supposed to be released?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions