aboutsummaryrefslogtreecommitdiff
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorGravatar David Ahern <dsa@cumulusnetworks.com> 2016-10-24 10:52:35 -0700
committerGravatar David S. Miller <davem@davemloft.net> 2016-10-27 16:30:52 -0400
commit830218c1add1da16519b71909e5cf21522b7d062 (patch)
treee429decf1a5d248d9a080c09acc1f8b9a02e57c0 /include/net/ip6_route.h
parentkalmia: avoid potential uninitialized variable use (diff)
downloadlinux-830218c1add1da16519b71909e5cf21522b7d062.tar.gz
linux-830218c1add1da16519b71909e5cf21522b7d062.tar.bz2
linux-830218c1add1da16519b71909e5cf21522b7d062.zip
net: ipv6: Fix processing of RAs in presence of VRF
rt6_add_route_info and rt6_add_dflt_router were updated to pull the FIB table from the device index, but the corresponding rt6_get_route_info and rt6_get_dflt_router functions were not leading to the failure to process RA's: ICMPv6: RA: ndisc_router_discovery failed to add default route Fix the 'get' functions by using the table id associated with the device when applicable. Also, now that default routes can be added to tables other than the default table, rt6_purge_dflt_routers needs to be updated as well to look at all tables. To handle that efficiently, add a flag to the table denoting if it is has a default route via RA. Fixes: ca254490c8dfd ("net: Add VRF support to IPv6 stack") Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
0 files changed, 0 insertions, 0 deletions