safchain / ethtool

A simple ethtool "like" library for GO
Apache License 2.0
120 stars 69 forks source link

Use syscall.RawSyscall to open netlink socket #10

Closed lebauce closed 7 years ago

lebauce commented 8 years ago

When using network namespaces, using syscalls triggers the Go runtime that can create a new thread in the same namespace than the one doing the syscall, which can cause hard to debug problems.