Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150302
b: refs/heads/master
c: e204a34
h: refs/heads/master
v: v3
  • Loading branch information
Rami Rosen authored and David S. Miller committed May 18, 2009
1 parent 48d67d7 commit 74cec1b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 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: 450c4ea15ecb89567e6a75b89cbb8a598a7efb75
refs/heads/master: e204a345a0b11c6522ec06e62dee71628a492408
1 change: 0 additions & 1 deletion trunk/net/ipv4/fib_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ fn_hash_lookup(struct fib_table *tb, const struct flowi *flp, struct fib_result

err = fib_semantic_match(&f->fn_alias,
flp, res,
f->fn_key, fz->fz_mask,
fz->fz_order);
if (err <= 0)
goto out;
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/ipv4/fib_lookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ struct fib_alias {
/* Exported by fib_semantics.c */
extern int fib_semantic_match(struct list_head *head,
const struct flowi *flp,
struct fib_result *res, __be32 zone, __be32 mask,
int prefixlen);
struct fib_result *res, int prefixlen);
extern void fib_release_info(struct fib_info *);
extern struct fib_info *fib_create_info(struct fib_config *cfg);
extern int fib_nh_match(struct fib_config *cfg, struct fib_info *fi);
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/ipv4/fib_semantics.c
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,7 @@ struct fib_info *fib_create_info(struct fib_config *cfg)

/* Note! fib_semantic_match intentionally uses RCU list functions. */
int fib_semantic_match(struct list_head *head, const struct flowi *flp,
struct fib_result *res, __be32 zone, __be32 mask,
int prefixlen)
struct fib_result *res, int prefixlen)
{
struct fib_alias *fa;
int nh_sel = 0;
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -1347,8 +1347,7 @@ static int check_leaf(struct trie *t, struct leaf *l,
if (l->key != (key & ntohl(mask)))
continue;

err = fib_semantic_match(&li->falh, flp, res,
htonl(l->key), mask, plen);
err = fib_semantic_match(&li->falh, flp, res, plen);

#ifdef CONFIG_IP_FIB_TRIE_STATS
if (err <= 0)
Expand Down

0 comments on commit 74cec1b

Please sign in to comment.