Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199193
b: refs/heads/master
c: ed0f160
h: refs/heads/master
i:
  199191: 40350a3
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed May 26, 2010
1 parent 4e7d72a commit a070b62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: d938a702e5ce8909ea68be97566150507bfea4df
refs/heads/master: ed0f160ad674407adb3aba499444f71c83289c63
2 changes: 1 addition & 1 deletion trunk/net/ipv4/ipmr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@ static int __ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb,
struct rtattr *mp_head;

/* If cache is unresolved, don't try to parse IIF and OIF */
if (c->mfc_parent > MAXVIFS)
if (c->mfc_parent >= MAXVIFS)
return -ENOENT;

if (VIF_EXISTS(mrt, c->mfc_parent))
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/ip6mr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ static int __ip6mr_fill_mroute(struct mr6_table *mrt, struct sk_buff *skb,
struct rtattr *mp_head;

/* If cache is unresolved, don't try to parse IIF and OIF */
if (c->mf6c_parent > MAXMIFS)
if (c->mf6c_parent >= MAXMIFS)
return -ENOENT;

if (MIF_EXISTS(mrt, c->mf6c_parent))
Expand Down

0 comments on commit a070b62

Please sign in to comment.