Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108268521
D34422.id103430.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
798 B
Referenced Files
None
Subscribers
None
D34422.id103430.diff
View Options
Index: sys/dev/ocs_fc/ocs_fabric.c
===================================================================
--- sys/dev/ocs_fc/ocs_fabric.c
+++ sys/dev/ocs_fc/ocs_fabric.c
@@ -232,6 +232,18 @@
sport->display_name);
ocs_assert(node->els_req_cnt, NULL);
node->els_req_cnt--;
+ if (node->sport->domain->attached) {
+ node_printf(node, "Domain already attached\n");
+ if (node->sport->p2p_winner) {
+ node_printf(node, "p2p winner, domain already attached\n");
+ ocs_node_post_event(node, OCS_EVT_DOMAIN_ATTACH_OK, NULL);
+ } else {
+ node_printf(node, "peer p2p winner, shutdown node\n");
+ node->shutdown_reason = OCS_NODE_SHUTDOWN_DEFAULT;
+ ocs_fabric_initiate_shutdown(node);
+ }
+ break;
+ }
ocs_sm_post_event(&sport->sm, OCS_EVT_SHUTDOWN, NULL);
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 7:17 AM (18 h, 40 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16081038
Default Alt Text
D34422.id103430.diff (798 B)
Attached To
Mode
D34422: ocs_fc: Ignore flogi failure when the discovery is already done.
Attached
Detach File
Event Timeline
Log In to Comment