mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
f7acbefbbb
Looking at profiles, we spend a lot of time in winipcfg.LUID.DeleteRoute looking up the routing table entry for the provided RouteData. But we already have the row! We previously obtained that data via the full table dump we did in getInterfaceRoutes. We can make this a lot faster by hanging onto a reference to the wipipcfg.MibIPforwardRow2 and executing the delete operation directly on that. Fixes #11123 Signed-off-by: Aaron Klotz <aaron@tailscale.com> |
||
---|---|---|
.. | ||
callback.go | ||
ifconfig_windows_test.go | ||
ifconfig_windows.go | ||
router_darwin.go | ||
router_default.go | ||
router_fake.go | ||
router_freebsd.go | ||
router_linux_test.go | ||
router_linux.go | ||
router_openbsd.go | ||
router_test.go | ||
router_userspace_bsd.go | ||
router_windows_test.go | ||
router_windows.go | ||
router.go | ||
runner.go |