Skip to contentSkip to conversation

NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace

PATCH In review Thomas Graf 2 participants 2 messages Jan 20, 2005 – Jan 26, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace

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;
maintainer
#1 lore raw

Good catch Thomas.

Both 2.4.x and 2.6.x variants applied.