diff options
| author | Thomas Graf <tgraf@suug.ch> | 2005-01-25 06:06:30 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2005-01-25 06:06:30 -0800 |
| commit | 7e09b9794abf7b1be3375cc64841bbbe5ea2882e (patch) | |
| tree | de642202ae7493ceacd1cab1c32219c783fd9eb0 | |
| parent | d113f0f0334c5dfbf5dd7909c80fb12b0359fa72 (diff) | |
[NET]: Set NLM_F_MULTI for neighbour rtnetlink messages to userspace.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | net/core/neighbour.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 17ed7fea5e62..15befcd88770 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -1556,6 +1556,7 @@ static int neigh_fill_info(struct sk_buff *skb, struct neighbour *n, sizeof(struct ndmsg)); struct ndmsg *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; |
