]> git.puffer.fish Git - mirror/frr.git/commit
zebra: drop NEWLINK event handling in the main thread 17180/head
authoranlan_cs <anlan_cs@126.com>
Sun, 20 Oct 2024 12:07:25 +0000 (20:07 +0800)
committeranlan_cs <anlan_cs@tom.com>
Tue, 22 Oct 2024 01:05:00 +0000 (09:05 +0800)
commit96192f6aee57819c68dfec9d4969d69652fe2689
tree7358e60376273a3c66d445bd84ddb1a9bc59e289
parent2f84a26634ec07ff677f13a9b8e915aef06149ec
zebra: drop NEWLINK event handling in the main thread

NEWLINK is only registered by the dplane thread, the main thread
doesn't care about it. So remove the real process of `netlink_link_change()`
for NEWLINK event in main thread.

And move NEWLINK/DELLINK event to the block where the dplane messages
are kept together.

Signed-off-by: anlan_cs <anlan_cs@126.com>
zebra/kernel_netlink.c