Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361441
b: refs/heads/master
c: 5b9e12d
h: refs/heads/master
i:
  361439: 4ca88eb
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Mar 13, 2013
1 parent 584cb56 commit 6f21c76
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 2317f449af30073cfa6ec8352e4a65a89e357bdd
refs/heads/master: 5b9e12dbf92b441b37136ea71dac59f05f2673a9
12 changes: 5 additions & 7 deletions trunk/include/net/ip_fib.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,16 @@ struct fib_result_nl {
};

#ifdef CONFIG_IP_ROUTE_MULTIPATH

#define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel])

#define FIB_TABLE_HASHSZ 2

#else /* CONFIG_IP_ROUTE_MULTIPATH */

#define FIB_RES_NH(res) ((res).fi->fib_nh[0])
#endif /* CONFIG_IP_ROUTE_MULTIPATH */

#ifdef CONFIG_IP_MULTIPLE_TABLES
#define FIB_TABLE_HASHSZ 256

#endif /* CONFIG_IP_ROUTE_MULTIPATH */
#else
#define FIB_TABLE_HASHSZ 2
#endif

extern __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh);

Expand Down

0 comments on commit 6f21c76

Please sign in to comment.