]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: Track wait_timer and disable when needed
authorDonald Sharp <sharpd@nvidia.com>
Tue, 26 Jan 2021 13:10:49 +0000 (08:10 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 26 Jan 2021 13:13:44 +0000 (08:13 -0500)
commit9ae41e310539d032582ae3101f800cb56877253d
tree821e796f69823d8eac11b1d54e682a4a61034f0f
parent72bd11663fde8f8cf504a4a93bee594df70d7fc7
ospf6d: Track wait_timer and disable when needed

When removing ospfv3 from an interface that has been previously
put into wait state, there is a possible use after free of the
oi because the wait_timer could have been started for the interface.
This is because the wait_timer was not tracked by the interface
and we just created a thread for it without storing the thread
pointer.

Issue: #7932
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ospf6d/ospf6_interface.c
ospf6d/ospf6_interface.h