Re: route(8): let the kernel do the filtering for flushroutes

2018-04-30 Thread Sebastian Benoit
ok Florian Obser(flor...@openbsd.org) on 2018.04.29 21:59:56 +0200: > > No need to get the whole routing table from the kernel if we are > filtering by address family and / or priority; similar to what > p_rttables() is doing. > > (On a router in the DFZ we need to copy 150+ MB) > > OK? > >

route(8): let the kernel do the filtering for flushroutes

2018-04-29 Thread Florian Obser
No need to get the whole routing table from the kernel if we are filtering by address family and / or priority; similar to what p_rttables() is doing. (On a router in the DFZ we need to copy 150+ MB) OK? diff --git route.c route.c index 031ae6c1b33..229cca1491d 100644 --- route.c +++ route.c