]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: keep track of the socket set thread
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 23 Jan 2019 12:25:30 +0000 (10:25 -0200)
committerMartin Winter <mwinter@opensourcerouting.org>
Sun, 2 Jun 2019 14:49:44 +0000 (16:49 +0200)
commitc9a8a856a71907c772790fcb4dc91d40dbcf72bb
tree3ca34701be682acc286213e66b6eb3ce73257917
parent813333946c04d9e06a714d5dc3ec5cd111279105
ospf6d: keep track of the socket set thread

When using the timer to set the socket multicast options, keep track
of the thread pointer. If we lose the thread reference we might have
situations where multicast is enabled when it should be disabled and
vice versa.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
(cherry picked from commit f80003b0e12a090b34e2ab9547ed072ff02c33ba)
ospf6d/ospf6_interface.c
ospf6d/ospf6_interface.h