commit | 7483cea79957312e9f8e9cf760a1bc5d6c507113 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Thu Aug 03 13:28:22 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 03 15:36:00 2017 -0700 |
tree | 1c7053e01df1e38f332a0f75a592bcafa6ac45cb | |
parent | c5b12410fa591acb1d48e167b9bd0d2a7a38498d [diff] |
ipv6: fib: Unlink replaced routes from their nodes When a route is deleted its node pointer is set to NULL to indicate it's no longer linked to its node. Do the same for routes that are replaced. This will later allow us to test if a route is still in the FIB by checking its node pointer instead of its reference count. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>