From: Nicolas Dichtel Date: Mon, 22 Oct 2012 03:42:09 +0000 (+0000) Subject: ipv6: add support of equal cost multipath (ECMP) X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~601 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51ebd3181572af8d5076808dab2682d800f6da5d;p=pandora-kernel.git ipv6: add support of equal cost multipath (ECMP) Each nexthop is added like a single route in the routing table. All routes that have the same metric/weight and destination but not the same gateway are considering as ECMP routes. They are linked together, through a list called rt6i_siblings. ECMP routes can be added in one shot, with RTA_MULTIPATH attribute or one after the other (in both case, the flag NLM_F_EXCL should not be set). The patch is based on a previous work from Luc Saillard . Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed