]> git.proxmox.com 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)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 23 Jan 2019 12:25:30 +0000 (10:25 -0200)
commitf80003b0e12a090b34e2ab9547ed072ff02c33ba
tree936f790d2922b84c3ec6281b75b88720d0ca794c
parent849576ee962518c926c6a264a497e873210941e8
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>
ospf6d/ospf6_interface.c
ospf6d/ospf6_interface.h