diff options
Diffstat (limited to 'net/core/fib_rules.c')
-rw-r--r-- | net/core/fib_rules.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index ab7db83236c9..58a4ba27dfe3 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c | |||
@@ -402,7 +402,7 @@ static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg) | |||
402 | if (unresolved) | 402 | if (unresolved) |
403 | ops->unresolved_rules++; | 403 | ops->unresolved_rules++; |
404 | 404 | ||
405 | notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).pid); | 405 | notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).portid); |
406 | flush_route_cache(ops); | 406 | flush_route_cache(ops); |
407 | rules_ops_put(ops); | 407 | rules_ops_put(ops); |
408 | return 0; | 408 | return 0; |
@@ -500,7 +500,7 @@ static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg) | |||
500 | } | 500 | } |
501 | 501 | ||
502 | notify_rule_change(RTM_DELRULE, rule, ops, nlh, | 502 | notify_rule_change(RTM_DELRULE, rule, ops, nlh, |
503 | NETLINK_CB(skb).pid); | 503 | NETLINK_CB(skb).portid); |
504 | if (ops->delete) | 504 | if (ops->delete) |
505 | ops->delete(rule); | 505 | ops->delete(rule); |
506 | fib_rule_put(rule); | 506 | fib_rule_put(rule); |
@@ -601,7 +601,7 @@ static int dump_rules(struct sk_buff *skb, struct netlink_callback *cb, | |||
601 | if (idx < cb->args[1]) | 601 | if (idx < cb->args[1]) |
602 | goto skip; | 602 | goto skip; |
603 | 603 | ||
604 | if (fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).pid, | 604 | if (fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).portid, |
605 | cb->nlh->nlmsg_seq, RTM_NEWRULE, | 605 | cb->nlh->nlmsg_seq, RTM_NEWRULE, |
606 | NLM_F_MULTI, ops) < 0) | 606 | NLM_F_MULTI, ops) < 0) |
607 | break; | 607 | break; |