netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.4] NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace
@ 2005-01-20 15:26 Thomas Graf
  0 siblings, 0 replies; only message in thread
From: Thomas Graf @ 2005-01-20 15:26 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

Signed-off-by: Thomas Graf <tgraf@suug.ch>

--- linux-2.4.29-bk1.orig/net/core/neighbour.c	2005-01-20 15:36:15.000000000 +0100
+++ linux-2.4.29-bk1/net/core/neighbour.c	2005-01-20 16:23:10.000000000 +0100
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-20 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20 15:26 [PATCH 2.4] NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace Thomas Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).