hostap/src
Srinivasa Duvvuri 9684c7567e mesh: Fix peer link counting when a mesh peer reconnects
When a mesh point reconnects by starting from Authentication frame
sequence, the plink count was not decremented from its last connection.
This resulted in leaking peer link count and causing wpa_supplicant to
reject the connection after max_peer_links (default: 99) reconnects.

This was reproduced by pre-configuring 2 mesh points with mesh
credentials. Boot both mesh points and make sure they connect to each
other. Then in a loop reboot one of the mesh points after it
successfully connects while leaving the other mesh point up and running.
After 99 iterations the supplicant on mesh point that is not rebooting
will reject the connection request from the other mesh point.

Fix this by decrementing num_plinks when freeing a STA entry that is
still in PLINK_ESTAB state.

Signed-off-by: Srinivasa Duvvuri <sduvvuri@chromium.org>
2016-02-06 21:22:29 +02:00
..
ap mesh: Fix peer link counting when a mesh peer reconnects 2016-02-06 21:22:29 +02:00
common Add the selector suite into wpa_parse_wpa_ie_rsn() "invalid group cipher" 2016-02-03 12:58:07 +02:00
crypto OpenSSL: Fix server side PKCS#12 processing with extra certificates 2016-02-06 01:14:43 +02:00
drivers wpa_supplicant: Fix couple of C++ compiler errors with header files 2016-02-06 15:26:48 +02:00
eap_common EAP-PAX: Check hmac_sha1_vector() return value 2016-01-06 21:12:08 +02:00
eap_peer EAP-FAST: Fix an error path in PAC binary format parsing 2016-02-06 00:26:31 +02:00
eap_server EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eapol_auth RADIUS: Share a single function for generating session IDs 2016-02-06 17:19:35 +02:00
eapol_supp Fix EAPOL reauth after FT protocol or offloaded PMKSA cache use 2015-11-19 21:16:18 +02:00
fst FST: Get rid of gcc extensions in structure/array initialization 2016-01-15 18:40:21 +02:00
l2_packet l2_packet: Extend bridge workaround RX processing to cover two frames 2016-01-07 13:30:59 +02:00
p2p P2P: Reduce off channel wait time for some P2P Action frames 2016-02-06 18:19:03 +02:00
pae MACsec: Update protect frames and replay on reauthentication 2014-12-09 16:56:10 +02:00
radius RADIUS: Share a single function for generating session IDs 2016-02-06 17:19:35 +02:00
rsn_supp Fix wpa_supplicant build with IEEE8021X_EAPOL=y and CONFIG_NO_WPA=y 2016-01-15 20:04:41 +02:00
tls TLS: Make tls_cert_chain_failure_event() more robust 2015-12-28 18:31:11 +02:00
utils wpa_supplicant: Fix couple of C++ compiler errors with header files 2016-02-06 15:26:48 +02:00
wps WPS: Testing mechanism to force auth/encr type flags 2016-01-01 13:42:04 +02:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00