summaryrefslogtreecommitdiff
path: root/scripts/gcc-version.sh
diff options
context:
space:
mode:
authorRomain Kuntz <r.kuntz@ipflavors.com>2013-01-10 01:06:03 +0400
committerDavid S. Miller <davem@davemloft.net>2013-01-11 02:22:54 +0400
commit21caa6622b36190a32b19dfa734822c2eb93e1fd (patch)
tree49ca3e7514dfbb43777b278eeb8d8ccde5572572 /scripts/gcc-version.sh
parent85da53bf1c336bb07ac038fb951403ab0478d2c5 (diff)
downloadlinux-21caa6622b36190a32b19dfa734822c2eb93e1fd.tar.xz
ipv6: use addrconf_get_prefix_route for prefix route lookup [v2]
Replace ip6_route_lookup() with addrconf_get_prefix_route() when looking up for a prefix route. This ensures that the connected prefix is looked up in the main table, and avoids the selection of other matching routes located in different tables as well as blackhole or prohibited entries. In addition, this fixes an Opps introduced by commit 64c6d08e (ipv6: del unreachable route when an addr is deleted on lo), that would occur when a blackhole or prohibited entry is selected by ip6_route_lookup(). Such entries have a NULL rt6i_table argument, which is accessed by __ip6_del_rt() when trying to lock rt6i_table->tb6_lock. The function addrconf_is_prefix_route() is not used anymore and is removed. [v2] Minor indentation cleanup and log updates. Signed-off-by: Romain Kuntz <r.kuntz@ipflavors.com> Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-version.sh')
0 files changed, 0 insertions, 0 deletions