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;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-24" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to