[NET]: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace.

Linux Kernel Mailing List <[email protected]>
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1521.1.56, 2005/01/25 22:06:47-08:00, [email protected]

	[NET]: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace.
	
	Signed-off-by: Thomas Graf <[email protected]>
	Signed-off-by: David S. Miller <[email protected]>



 neighbour.c |    1 +
 1 files changed, 1 insertion(+)


diff -Nru a/net/core/neighbour.c b/net/core/neighbour.c
--- a/net/core/neighbour.c	2005-02-01 16:03:58 -08:00
+++ b/net/core/neighbour.c	2005-02-01 16:03:58 -08:00
@@ -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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.