summaryrefslogtreecommitdiffstats
path: root/net/phonet
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2011-03-19 13:13:52 +0100
committerDavid S. Miller <davem@davemloft.net>2011-03-22 09:06:33 +0100
commit2d230e2b2c3111cf4a11619f60dcd158ae84e3ab (patch)
tree4e665cc5ac43116212b44af1f409ef8a140069ef /net/phonet
parentipv4: fix route deletion for IPs on many subnets (diff)
downloadlinux-2d230e2b2c3111cf4a11619f60dcd158ae84e3ab.tar.xz
linux-2d230e2b2c3111cf4a11619f60dcd158ae84e3ab.zip
ipv4: remove the routes on secondary promotion
The secondary address promotion relies on fib_sync_down_addr to remove all routes created for the secondary addresses when the old primary address is deleted. It does not happen for cases when the primary address is also in another subnet. Fix that by deleting local and broadcast routes for all secondaries while they are on device list and by faking that all addresses from this subnet are to be deleted. It relies on fib_del_ifaddr being able to ignore the IPs from the concerned subnet while checking for duplication. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions