Commit 1b7fe593 authored by David S. Miller's avatar David S. Miller

ipv4: Kill flowi arg to fib_select_multipath()

Completely unused.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ff3fccb3
...@@ -230,7 +230,7 @@ extern int fib_sync_down_dev(struct net_device *dev, int force); ...@@ -230,7 +230,7 @@ extern int fib_sync_down_dev(struct net_device *dev, int force);
extern int fib_sync_down_addr(struct net *net, __be32 local); extern int fib_sync_down_addr(struct net *net, __be32 local);
extern void fib_update_nh_saddrs(struct net_device *dev); extern void fib_update_nh_saddrs(struct net_device *dev);
extern int fib_sync_up(struct net_device *dev); extern int fib_sync_up(struct net_device *dev);
extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res); extern void fib_select_multipath(struct fib_result *res);
/* Exported by fib_trie.c */ /* Exported by fib_trie.c */
extern void fib_trie_init(void); extern void fib_trie_init(void);
......
...@@ -1210,7 +1210,7 @@ int fib_sync_up(struct net_device *dev) ...@@ -1210,7 +1210,7 @@ int fib_sync_up(struct net_device *dev)
* The algorithm is suboptimal, but it provides really * The algorithm is suboptimal, but it provides really
* fair weighted route distribution. * fair weighted route distribution.
*/ */
void fib_select_multipath(const struct flowi *flp, struct fib_result *res) void fib_select_multipath(struct fib_result *res)
{ {
struct fib_info *fi = res->fi; struct fib_info *fi = res->fi;
int w; int w;
......
...@@ -2048,7 +2048,7 @@ static int ip_mkroute_input(struct sk_buff *skb, ...@@ -2048,7 +2048,7 @@ static int ip_mkroute_input(struct sk_buff *skb,
#ifdef CONFIG_IP_ROUTE_MULTIPATH #ifdef CONFIG_IP_ROUTE_MULTIPATH
if (res->fi && res->fi->fib_nhs > 1) if (res->fi && res->fi->fib_nhs > 1)
fib_select_multipath(fl, res); fib_select_multipath(res);
#endif #endif
/* create a routing cache entry */ /* create a routing cache entry */
...@@ -2598,7 +2598,7 @@ static struct rtable *ip_route_output_slow(struct net *net, ...@@ -2598,7 +2598,7 @@ static struct rtable *ip_route_output_slow(struct net *net,
#ifdef CONFIG_IP_ROUTE_MULTIPATH #ifdef CONFIG_IP_ROUTE_MULTIPATH
if (res.fi->fib_nhs > 1 && fl.oif == 0) if (res.fi->fib_nhs > 1 && fl.oif == 0)
fib_select_multipath(&fl, &res); fib_select_multipath(&res);
else else
#endif #endif
if (!res.prefixlen && res.type == RTN_UNICAST && !fl.oif) if (!res.prefixlen && res.type == RTN_UNICAST && !fl.oif)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment