From: volth Date: Thu, 27 Jul 2017 06:32:28 +0000 (+0000) Subject: Avoid infinite loop on EBADFD X-Git-Tag: release-1.1pre15~10 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=d73cdee5df3e6c7395270c69e944b3c853f013ae;hp=d73cdee5df3e6c7395270c69e944b3c853f013ae;p=tinc Avoid infinite loop on EBADFD On Linux network restart, Tinc can get into a loop writing millions of error messages "Error while reading from Linux tun/tap device (tun mode) /dev/net/tun: File descriptor in bad state" to the log. https://github.com/NixOS/nixpkgs/pull/27675 It should be somehow aborted. Here is my quick hack. ---