aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cni-plugins/ethtool-x86-go.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cni-plugins/ethtool-x86-go.patch')
-rw-r--r--testing/cni-plugins/ethtool-x86-go.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/cni-plugins/ethtool-x86-go.patch b/testing/cni-plugins/ethtool-x86-go.patch
deleted file mode 100644
index 00f2798b9d..0000000000
--- a/testing/cni-plugins/ethtool-x86-go.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/vendor/github.com/safchain/ethtool/ethtool.go b/vendor/github.com/safchain/ethtool/ethtool.go
-index 1f8828f..98387e6 100644
---- a/vendor/github.com/safchain/ethtool/ethtool.go
-+++ b/vendor/github.com/safchain/ethtool/ethtool.go
-@@ -202,9 +202,9 @@ func (e *Ethtool) Close() {
- }
-
- func NewEthtool() (*Ethtool, error) {
-- fd, _, err := syscall.RawSyscall(syscall.SYS_SOCKET, syscall.AF_INET, syscall.SOCK_DGRAM, syscall.IPPROTO_IP)
-- if err != 0 {
-- return nil, syscall.Errno(err)
-+ fd, err := syscall.Socket(syscall.AF_INET, syscall.SOCK_DGRAM, syscall.IPPROTO_IP)
-+ if err != nil {
-+ return nil, err
- }
-
- return &Ethtool{