mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
Merge pull request #2735 from sworleys/Netlink-Next-Fault
zebra: Check for netlink message next fault
This commit is contained in:
commit
ddd4a7a4cc
@ -638,7 +638,7 @@ int netlink_parse_info(int (*filter)(struct nlmsghdr *, ns_id_t, int),
|
||||
|
||||
read_in++;
|
||||
for (h = (struct nlmsghdr *)buf;
|
||||
NLMSG_OK(h, (unsigned int)status);
|
||||
(status >= 0 && NLMSG_OK(h, (unsigned int)status));
|
||||
h = NLMSG_NEXT(h, status)) {
|
||||
/* Finish of reading. */
|
||||
if (h->nlmsg_type == NLMSG_DONE)
|
||||
|
Loading…
Reference in New Issue
Block a user