Added a note to MS/TP FindNewSuccessor transition after BTL CR: if NS=TS-1, this node could send PFM to self!
This commit is contained in:
@@ -965,6 +965,7 @@ static bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
Poll_Station = next_next_station;
|
Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
||||||
|
|||||||
@@ -808,6 +808,7 @@ static bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
Poll_Station = next_next_station;
|
Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
||||||
|
|||||||
@@ -979,6 +979,7 @@ static bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
Poll_Station = next_next_station;
|
Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
||||||
|
|||||||
@@ -978,6 +978,7 @@ static bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
Poll_Station = next_next_station;
|
Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
||||||
|
|||||||
@@ -1010,6 +1010,7 @@ bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
mstp_port->Poll_Station = next_next_station;
|
mstp_port->Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Create_And_Send_Frame(mstp_port,
|
MSTP_Create_And_Send_Frame(mstp_port,
|
||||||
|
|||||||
@@ -1038,6 +1038,7 @@ bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
mstp_port->Poll_Station = next_next_station;
|
mstp_port->Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Create_And_Send_Frame(mstp_port,
|
MSTP_Create_And_Send_Frame(mstp_port,
|
||||||
|
|||||||
@@ -1067,6 +1067,7 @@ static bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
Poll_Station = next_next_station;
|
Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
MSTP_Send_Frame(FRAME_TYPE_POLL_FOR_MASTER, Poll_Station,
|
||||||
|
|||||||
@@ -889,6 +889,7 @@ bool MSTP_Master_Node_FSM(
|
|||||||
} else {
|
} else {
|
||||||
/* FindNewSuccessor */
|
/* FindNewSuccessor */
|
||||||
/* Assume that NS has failed. */
|
/* Assume that NS has failed. */
|
||||||
|
/* note: if NS=TS-1, this node could send PFM to self! */
|
||||||
mstp_port->Poll_Station = next_next_station;
|
mstp_port->Poll_Station = next_next_station;
|
||||||
/* Transmit a Poll For Master frame to PS. */
|
/* Transmit a Poll For Master frame to PS. */
|
||||||
MSTP_Create_And_Send_Frame(mstp_port,
|
MSTP_Create_And_Send_Frame(mstp_port,
|
||||||
|
|||||||
Reference in New Issue
Block a user