diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-03-01 17:01:21 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-03-01 17:06:01 +0100 |
commit | e88b529a30a4b8d31c7754645bda1f1edb1b4e45 (patch) | |
tree | 1c14c7f9807ecdde92176e9ed76bebb209a37cdf /src/libcharon/plugins/android/android_service.c | |
parent | 4c969f790692d9f93105cef7abe066bc4222f09b (diff) | |
download | strongswan-e88b529a30a4b8d31c7754645bda1f1edb1b4e45.tar.bz2 strongswan-e88b529a30a4b8d31c7754645bda1f1edb1b4e45.tar.xz |
android: Mitigate race condition on reauthentication
If the TUN device gets recreated while another thread in handle_plain()
has not yet called select(2) but already stored the file descriptor of the
old TUN device in its FD set, select() will fail with EBADF.
Fixes #301.
Diffstat (limited to 'src/libcharon/plugins/android/android_service.c')
0 files changed, 0 insertions, 0 deletions