mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
mka: Fix READY to TRANSMIT logic in CP state machine
Per IEEE Std 802.1X-2010, Figure 12-2 (CP state machine), READY to TRANSMIT transition includes !controlledPortEnabled condition. Signed-off-by: Michael Siedzik <msiedzik@extremenetworks.com>
This commit is contained in:
parent
8ae29b4e9c
commit
1cb0f63b0e
@ -411,7 +411,7 @@ SM_STEP(CP)
|
||||
case CP_READY:
|
||||
if (sm->new_sak || changed_connect(sm))
|
||||
SM_ENTER(CP, ABANDON);
|
||||
if (sm->server_transmitting)
|
||||
if (sm->server_transmitting || !sm->controlled_port_enabled)
|
||||
SM_ENTER(CP, TRANSMIT);
|
||||
break;
|
||||
case CP_ABANDON:
|
||||
|
Loading…
Reference in New Issue
Block a user