Revert "Try another optimization in LinuxEthernetTap."

This reverts commit a390629371.
This commit is contained in:
Adam Ierymenko
2020-11-18 22:24:18 -05:00
parent 3712f9b318
commit ca428233ba
2 changed files with 65 additions and 38 deletions

View File

@@ -68,6 +68,7 @@ private:
std::vector<MulticastGroup> _multicastGroups;
unsigned int _mtu;
int _fd;
int _shutdownSignalPipe[2];
std::atomic_bool _enabled;
std::thread _tapReaderThread;
std::thread _tapProcessorThread;