strongswan/src/libstrongswan/networking
Martin Willi e49b299867 stream: Make sure no watcher callback is active while changing stream callbacks
When changing async callbacks on streams, we have to make sure the watcher
callback is not currently active and has temporarily disabled callbacks. This
could have been the case, as we didn't explicitly removed any pending
watcher registration if both callbacks are NULL.

By enforcing the watcher unregistration, we are sure the watcher callback is
not active and currently is not mangling the callback hooks. This should make
sure we avoid any races for the callback variables.
2014-01-22 15:34:53 +01:00
..
streams stream: Make sure no watcher callback is active while changing stream callbacks 2014-01-22 15:34:53 +01:00
host.c host: Properly initialize struct sockaddr_in[6] when parsing strings 2013-07-31 22:16:58 +02:00
host.h Fix various API doc issues and typos 2013-07-18 18:30:36 +02:00
host_resolver.c host-resolver: don't try to resolve a plain v4 address to an IPv6 address 2013-05-16 11:03:37 +02:00
host_resolver.h Moved host_t and host_resolver_t to a new networking subfolder 2012-10-24 15:06:18 +02:00
packet.c Add a DSCP value with getter/setter on packet_t 2013-02-06 15:20:32 +01:00
packet.h Add a DSCP value with getter/setter on packet_t 2013-02-06 15:20:32 +01:00
tun_device.c tun-device: Include system headers before our own 2013-12-20 11:33:16 +01:00
tun_device.h tun-device: Include system headers before our own 2013-12-20 11:33:16 +01:00