linux returns EAGAIN for closed ocserv interfaces

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Fri Sep 19 08:14:57 PDT 2014


On Fri, Sep 19, 2014 at 5:07 PM, Nikos Mavrogiannopoulos
<n.mavrogiannopoulos at gmail.com> wrote:
>>> Are these discussions public? Does that change solve the issue? Is the
>>> loop on dnsmasq on tun or udp socket?
>> The problem has not re-occured since, but I won't be able to say with confidence until some more
>> time has passed.
> If that solves the issue, we'd better wrap all close calls in ocserv's
> main thread.

Having read:
http://lwn.net/Articles/576478/
https://lkml.org/lkml/2002/7/17/165

it gets more confusing. As I understand close shouldn't have been
interrupted in linux.



More information about the openconnect-devel mailing list