Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: Don't bind netns ID netlink socket to mcast groups
The netlink socket in `zebra_ns_id_get()` is only used to get netns id. There's no need to subscribe to multicast groups. In some heavy-loaded cases, unexpected notification races with normal reply message and causes failure: zebra[110338]: [NMNEE-JJKPF][EC 4043309094] netlink recvmsg: bad sequence number 505ac8 (expected 66ea845f) BTW, to subscribe to RTNLGRP_NSID, `nl_groups` should be `1 << (RTNLGRP_NSID - 1)`. This code has never worked as expected. Signed-off-by: Xiao Liang <[email protected]>
- Loading branch information