Skip to content

Commit

Permalink
Merge pull request FRRouting#14577 from mjstapp/fix_zebra_nlmsg_unknown
Browse files Browse the repository at this point in the history
zebra: add xxxCHAIN netlink messages to handler, ignore
  • Loading branch information
donaldsharp authored Oct 12, 2023
2 parents 202a0f7 + 620daa3 commit df03bf9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zebra/kernel_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,12 @@ static int netlink_information_fetch(struct nlmsghdr *h, ns_id_t ns_id,
case RTM_DELVLAN:
return netlink_vlan_change(h, ns_id, startup);

/* Messages we may receive, but ignore */
case RTM_NEWCHAIN:
case RTM_DELCHAIN:
case RTM_GETCHAIN:
return 0;

/* Messages handled in the dplane thread */
case RTM_NEWADDR:
case RTM_DELADDR:
Expand Down

0 comments on commit df03bf9

Please sign in to comment.