Print this page
8368 remove warlock leftovers from usr/src/uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/clients/rdsv3/connection.c
          +++ new/usr/src/uts/common/io/ib/clients/rdsv3/connection.c
↓ open down ↓ 312 lines elided ↑ open up ↑
 313  313  
 314  314                  if (!rdsv3_conn_transition(conn, RDSV3_CONN_DISCONNECTING,
 315  315                      RDSV3_CONN_DOWN)) {
 316  316                          /*
 317  317                           * This can happen - eg when we're in the middle of
 318  318                           * tearing down the connection, and someone unloads
 319  319                           * the rds module.
 320  320                           * Quite reproduceable with loopback connections.
 321  321                           * Mostly harmless.
 322  322                           */
 323      -#ifndef __lock_lint
 324  323                          RDSV3_DPRINTF2("rdsv3_conn_shutdown",
 325  324                              "failed to transition to state DOWN, "
 326  325                              "current statis is: %d",
 327  326                              atomic_get(&conn->c_state));
 328  327                          rdsv3_conn_drop(conn);
 329      -#endif
 330  328                          return;
 331  329                  }
 332  330          }
 333  331  
 334  332          /*
 335  333           * Then reconnect if it's still live.
 336  334           * The passive side of an IB loopback connection is never added
 337  335           * to the conn hash, so we never trigger a reconnect on this
 338  336           * conn - the reconnect is always triggered by the active peer.
 339  337           */
↓ open down ↓ 287 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX