[NETLINK]: Correctly set NLM_F_MULTI without checking the pid

This patch rectifies some rtnetlink message builders that derive the
flags from the pid. It is now explicit like the other cases
which get it right. Also fixes half a dozen dumpers which did not
set NLM_F_MULTI at all.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jamal Hadi Salim
2005-06-18 22:54:12 -07:00
کامیت شده توسط David S. Miller
والد 1797754ea7
کامیت b6544c0b4c
14فایلهای تغییر یافته به همراه83 افزوده شده و 78 حذف شده

مشاهده پرونده

@@ -703,7 +703,8 @@ fn_hash_dump_bucket(struct sk_buff *skb, struct netlink_callback *cb,
&f->fn_key,
fz->fz_order,
fa->fa_tos,
fa->fa_info) < 0) {
fa->fa_info,
NLM_F_MULTI) < 0) {
cb->args[3] = i;
return -1;
}