Skip to contentSkip to conversation

NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace

PATCH New Thomas Graf 1 participant 1 message Jan 20, 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
@@ -1469,6 +1469,7 @@
 
 	nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*ndm));
 	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;