| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH 2.4] NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace |
| From: | Thomas Graf <tgraf@xxxxxxx> |
| Date: | Thu, 20 Jan 2005 16:26:17 +0100 |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Signed-off-by: Thomas Graf <tgraf@xxxxxxx>
--- 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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 6/9] irda: use sock slab cache, Arnaldo Carvalho de Melo |
|---|---|
| Next by Date: | Re: [RFC] batched tc to improve change throughput, Thomas Graf |
| Previous by Thread: | [PATCH] NET: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace, Thomas Graf |
| Next by Thread: | [BK PATCH] Ndisc updates, YOSHIFUJI Hideaki / 吉藤英明 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |