summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPravin B. Shelar2005-05-30 05:26:44 +0200
committerDavid S. Miller2005-05-30 05:26:44 +0200
commit37e20a66db02eff9adbeee043af990cca85d0034 (patch)
treeb61efc508ce4130b508b329f4833cc4cf8deb7ee /include
parent[NET]: Add is_multicast_ether_addr() in include/linux/etherdevice.h (diff)
downloadkernel-qcow2-linux-37e20a66db02eff9adbeee043af990cca85d0034.tar.gz
kernel-qcow2-linux-37e20a66db02eff9adbeee043af990cca85d0034.tar.xz
kernel-qcow2-linux-37e20a66db02eff9adbeee043af990cca85d0034.zip
[IPV4]: Kill MULTIPATHHOLDROUTE flag.
It cannot work properly, so just ignore it in drr and rr multipath algorithms just like the random multipath algorithm does. Suggested by Herbert Xu. Signed-off by: Pravin B. Shelar <pravins@calsoftinc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/route.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/route.h b/include/net/route.h
index efe92b239ef1..d34ca8fc6756 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -181,9 +181,6 @@ static inline int ip_route_newports(struct rtable **rp, u16 sport, u16 dport,
memcpy(&fl, &(*rp)->fl, sizeof(fl));
fl.fl_ip_sport = sport;
fl.fl_ip_dport = dport;
-#if defined(CONFIG_IP_ROUTE_MULTIPATH_CACHED)
- fl.flags |= FLOWI_FLAG_MULTIPATHOLDROUTE;
-#endif
ip_rt_put(*rp);
*rp = NULL;
return ip_route_output_flow(rp, &fl, sk, 0);