diff options
author | David Ahern <dsahern@kernel.org> | 2019-11-07 18:29:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-07 16:14:36 -0800 |
commit | e0a312629fefa943534fc46f7bfbe6de3fdaf463 (patch) | |
tree | e198faf564c9abbc25341cf972f403e325395607 /fs | |
parent | 1bef4c223b8588cf50433bdc2c6953d82949b3b3 (diff) |
ipv4: Fix table id reference in fib_sync_down_addr
Hendrik reported routes in the main table using source address are not
removed when the address is removed. The problem is that fib_sync_down_addr
does not account for devices in the default VRF which are associated
with the main table. Fix by updating the table id reference.
Fixes: 5a56a0b3a45d ("net: Don't delete routes in different VRFs")
Reported-by: Hendrik Donner <hd@os-cillation.de>
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions