ipv6: prepare fib6_remove_prefsrc() for exception table
authorWei Wang <weiwan@google.com>
Fri, 6 Oct 2017 19:05:58 +0000 (12:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Oct 2017 20:22:57 +0000 (21:22 +0100)
commit60006a4825f9e71adf770745e17790c6e6c97a89
tree8d226c90706c761a92ac5fc86ec5624847782508
parent35732d01fe311ec13c4e42936878b782b8e7ea85
ipv6: prepare fib6_remove_prefsrc() for exception table

After we move cached dst entries into the exception table under its
parent route, current fib6_remove_prefsrc() no longer can access them.
This commit makes fib6_remove_prefsrc() also go through all routes
in the exception table to remove the pref src.
This is a preparation patch in order to move all cached dst into the
exception table.

Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c