diff options
author | pjd <pjd@FreeBSD.org> | 2010-11-02 22:13:08 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-11-02 22:13:08 +0000 |
commit | c148a74821d2b0cff6651f00ab1dcc590bc73a6a (patch) | |
tree | 667b2e8d33242e14957176a8e61082215c269563 /contrib/wpa/wpa_supplicant/doc/testing_tools.doxygen | |
parent | db8115405e9cedda133d4e8a82ec30f3a745c356 (diff) | |
download | FreeBSD-src-c148a74821d2b0cff6651f00ab1dcc590bc73a6a.zip FreeBSD-src-c148a74821d2b0cff6651f00ab1dcc590bc73a6a.tar.gz |
Send packets to remote node only via the send thread to avoid possible
races - in this case a keepalive packet was send from wrong thread which
lead to connection dropping, because of corrupted packet.
Fix it by sending keepalive packets directly from the send thread.
As a bonus we now send keepalive packets only when connection is idle.
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>
MFC after: 3 days
Diffstat (limited to 'contrib/wpa/wpa_supplicant/doc/testing_tools.doxygen')
0 files changed, 0 insertions, 0 deletions