-
Notifications
You must be signed in to change notification settings - Fork 30
Fix issues with PDU structure alignment, IPC msg processing #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1899,14 +1899,15 @@ static void stpmgr_process_ipc_msg(STP_IPC_MSG *msg, int len, struct sockaddr_un | |
| } | ||
| case STP_BRIDGE_CONFIG: | ||
| { | ||
| if(msg->proto_mode == L2_PVSTP) | ||
| stpmgr_process_bridge_config_msg(msg->data); | ||
| /*if(msg->proto_mode == L2_PVSTP) | ||
| { | ||
| stpmgr_process_bridge_config_msg(msg->data); | ||
| } | ||
| else if(msg->proto_mode == L2_MSTP) | ||
| { | ||
| mstpmgr_process_bridge_config_msg(msg->data); | ||
| } | ||
| }*/ | ||
| break; | ||
| } | ||
| case STP_VLAN_CONFIG: | ||
|
|
@@ -1921,14 +1922,15 @@ static void stpmgr_process_ipc_msg(STP_IPC_MSG *msg, int len, struct sockaddr_un | |
| } | ||
| case STP_PORT_CONFIG: | ||
| { | ||
| if(msg->proto_mode == L2_PVSTP) | ||
| stpmgr_process_intf_config_msg(msg->data); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert the changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @divyachandralekha, right now both PVST and MSTP are not working due to incorrect changes in stpmgrd. For now atleast this change will allow us to get PVST working with minimal changes. As part of MSTP we have to address the issue on stpmgrd where we pass the correct msg->proto_mode. |
||
| /*if(msg->proto_mode == L2_PVSTP) | ||
| { | ||
| stpmgr_process_intf_config_msg(msg->data); | ||
| } | ||
| else if(msg->proto_mode == L2_MSTP) | ||
| { | ||
| mstpmgr_process_intf_config_msg(msg->data); | ||
| } | ||
| }*/ | ||
| break; | ||
| } | ||
| case STP_VLAN_MEM_CONFIG: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert the changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@divyachandralekha, right now both PVST and MSTP are not working due to incorrect changes in stpmgrd. For now atleast this change will allow us to get PVST working with minimal changes. As part of MSTP we have to address the issue on stpmgrd where we pass the correct msg->proto_mode.