From 969c0ee6e367628d47a3fb15d5fb1339cce812bc Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 12 Nov 2024 14:40:24 -0800 Subject: [PATCH] Omit CPU pinning code on OpenBSD --- osdep/BSDEthernetTap.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osdep/BSDEthernetTap.cpp b/osdep/BSDEthernetTap.cpp index d4dbf7f6f..32a498edf 100644 --- a/osdep/BSDEthernetTap.cpp +++ b/osdep/BSDEthernetTap.cpp @@ -431,6 +431,7 @@ void BSDEthernetTap::threadMain() // constructing itself. Thread::sleep(500); +#ifndef __OpenBSD__ bool pinning = _pinning; for (unsigned int i = 0; i < _concurrency; ++i) { @@ -451,6 +452,7 @@ void BSDEthernetTap::threadMain() exit(1); } } +#endif // __OpenBSD__ uint8_t b[ZT_TAP_BUF_SIZE]; MAC to, from;