Re: adding existing ipv6 network route returns ENOMEM instead of EEXIST if loopback route also exists

2021-01-24 Thread Guy Yur
Hi, On 25/11/20 1:12 pm, Alexander V. Chernikov wrote: 21.11.2020, 22:48, "Guy Yur" : Hi, When adding a route with a netmask, add_route() in route_ctl.c adds the route with destination address masked. If the add failed (for example, the route exists) it calls lookup_prefix() with the original

Re: adding existing ipv6 network route returns ENOMEM instead of EEXIST if loopback route also exists

2020-11-25 Thread Alexander V . Chernikov
21.11.2020, 22:48, "Guy Yur" : > Hi, > > When adding a route with a netmask, add_route() in route_ctl.c > adds the route with destination address masked. > If the add failed (for example, the route exists) it calls > lookup_prefix() with the original unmasked destination. Thank you for the report!

adding existing ipv6 network route returns ENOMEM instead of EEXIST if loopback route also exists

2020-11-21 Thread Guy Yur
Hi, When adding a route with a netmask, add_route() in route_ctl.c adds the route with destination address masked. If the add failed (for example, the route exists) it calls lookup_prefix() with the original unmasked destination. In a scenario where a loopback route was added followed by the net