Re: [PATCH] net: Don't delete routes in different VRFs

2016-09-02 Thread David Ahern
On 9/1/16 11:26 PM, Mark Tomlinson wrote: > When deleting an IP address from an interface, there is a clean-up of > routes which refer to this local address. However, there was no check to > see that the VRF matched. This meant that deletion wasn't confined to > the VRF it should have been. > > To

[PATCH] net: Don't delete routes in different VRFs

2016-09-01 Thread Mark Tomlinson
When deleting an IP address from an interface, there is a clean-up of routes which refer to this local address. However, there was no check to see that the VRF matched. This meant that deletion wasn't confined to the VRF it should have been. To solve this, a new field has been added to fib_info to