diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-02 16:40:14 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2018-02-02 16:40:14 +0100 |
commit | 029410b118f079d77fa448cf56a97b949faee126 (patch) | |
tree | 5c9ecf509601b3abffe36094b3b228b87b7d8b92 /src/tun_linux.go | |
parent | 1e42b1402261d15b87b1b5871f7bc51342b46e34 (diff) |
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.
Diffstat (limited to 'src/tun_linux.go')
-rw-r--r-- | src/tun_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |