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
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
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;