Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32199
b: refs/heads/master
c: 26e0fd1
h: refs/heads/master
i:
  32197: bb1da4d
  32195: f891cf0
  32191: 772dbcc
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jul 8, 2006
1 parent a1579a5 commit 0d52717
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a430a43d087545c96542ee64573237919109d370
refs/heads/master: 26e0fd1ce2418b10713b569a195bdb679233066b
3 changes: 2 additions & 1 deletion trunk/net/decnet/dn_rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,10 @@ int dn_fib_dump_rules(struct sk_buff *skb, struct netlink_callback *cb)
rcu_read_lock();
hlist_for_each_entry(r, node, &dn_fib_rules, r_hlist) {
if (idx < s_idx)
continue;
goto next;
if (dn_fib_fill_rule(skb, r, cb, NLM_F_MULTI) < 0)
break;
next:
idx++;
}
rcu_read_unlock();
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/ipv4/fib_rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,13 +457,13 @@ int inet_dump_rules(struct sk_buff *skb, struct netlink_callback *cb)

rcu_read_lock();
hlist_for_each_entry(r, node, &fib_rules, hlist) {

if (idx < s_idx)
continue;
goto next;
if (inet_fill_rule(skb, r, NETLINK_CB(cb->skb).pid,
cb->nlh->nlmsg_seq,
RTM_NEWRULE, NLM_F_MULTI) < 0)
break;
next:
idx++;
}
rcu_read_unlock();
Expand Down

0 comments on commit 0d52717

Please sign in to comment.