NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace
Subsystems (2)
PATCH 1/1 NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace
Signed-off-by Thomas Graf <[email protected]>
net/core/neighbour.c +1 -0
@@ -1556,6 +1556,7 @@ sizeof(struct ndmsg));struct ndmsg *ndm =NLMSG_DATA (nlh); + nlh->nlmsg_flags = pid ?NLM_F_MULTI :0 ; ndm->ndm_family = n->ops->family; ndm->ndm_flags = n->flags; ndm->ndm_type = n->type;
David S. Miller
maintainerGood catch Thomas.
Both 2.4.x and 2.6.x variants applied.