On Thu, 28 Sep 2017 19:33:56 +0200 Phil Sutter <[email protected]> wrote: > This fixes a corner-case for routes with a certain metric locked to > zero: > > | ip route add 192.168.7.0/24 dev eth0 window 0 > | ip route add 192.168.7.0/24 dev eth0 window lock 0 > > Since the kernel doesn't dump the attribute if it is zero, both routes > added above would appear as if they were equal although they are not. > > Fix this by taking mxlock value for the given metric into account before > skipping it if it is not present. > > Reported-by: Thomas Haller <[email protected]> > Signed-off-by: Phil Sutter <[email protected]>
Looks good, Applied. Thanks Phil
