mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 06:43:52 +00:00
Merge pull request #17180 from anlancs/zebra/review-move-dplane
zebra: drop NEWLINK event handling in the main thread
This commit is contained in:
commit
0078472e19
@ -405,10 +405,6 @@ static int netlink_information_fetch(struct nlmsghdr *h, ns_id_t ns_id,
|
|||||||
return netlink_route_change(h, ns_id, startup);
|
return netlink_route_change(h, ns_id, startup);
|
||||||
case RTM_DELROUTE:
|
case RTM_DELROUTE:
|
||||||
return netlink_route_change(h, ns_id, startup);
|
return netlink_route_change(h, ns_id, startup);
|
||||||
case RTM_NEWLINK:
|
|
||||||
return netlink_link_change(h, ns_id, startup);
|
|
||||||
case RTM_DELLINK:
|
|
||||||
return 0;
|
|
||||||
case RTM_NEWNEIGH:
|
case RTM_NEWNEIGH:
|
||||||
case RTM_DELNEIGH:
|
case RTM_DELNEIGH:
|
||||||
case RTM_GETNEIGH:
|
case RTM_GETNEIGH:
|
||||||
@ -438,6 +434,8 @@ static int netlink_information_fetch(struct nlmsghdr *h, ns_id_t ns_id,
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* Messages handled in the dplane thread */
|
/* Messages handled in the dplane thread */
|
||||||
|
case RTM_NEWLINK:
|
||||||
|
case RTM_DELLINK:
|
||||||
case RTM_NEWADDR:
|
case RTM_NEWADDR:
|
||||||
case RTM_DELADDR:
|
case RTM_DELADDR:
|
||||||
case RTM_NEWNETCONF:
|
case RTM_NEWNETCONF:
|
||||||
|
Loading…
Reference in New Issue
Block a user