From 029410b118f079d77fa448cf56a97b949faee126 Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Fri, 2 Feb 2018 16:40:14 +0100 Subject: Rework of entire locking system Locking on the Device instance is now much more fined-grained, seperating out the fields into "resources" st. most common interactions only require a small number. --- src/tun_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tun_linux.go') diff --git a/src/tun_linux.go b/src/tun_linux.go index daa2462..9756169 100644 --- a/src/tun_linux.go +++ b/src/tun_linux.go @@ -313,7 +313,7 @@ func CreateTUNFromFile(name string, fd *os.File) (TUNDevice, error) { } go device.RoutineNetlinkListener() - go device.RoutineHackListener() // cross namespace + // go device.RoutineHackListener() // cross namespace // set default MTU @@ -369,7 +369,7 @@ func CreateTUN(name string) (TUNDevice, error) { } go device.RoutineNetlinkListener() - go device.RoutineHackListener() // cross namespace + // go device.RoutineHackListener() // cross namespace // set default MTU -- cgit v1.2.3