usr/src/uts/common/rpc/clnt_cots.c
changeset 154 7a745d3804a2
parent 0 68f95e015346
child 342 2d4fdacbb720
equal deleted inserted replaced
153:b7f7b242faa2 154:7a745d3804a2
  1714 			/*
  1714 			/*
  1715 			 * Garbage collect conections that are marked
  1715 			 * Garbage collect conections that are marked
  1716 			 * for needs disconnect.
  1716 			 * for needs disconnect.
  1717 			 */
  1717 			 */
  1718 			if (cm_entry->x_needdis) {
  1718 			if (cm_entry->x_needdis) {
       
  1719 				CONN_HOLD(cm_entry);
  1719 				connmgr_dis_and_wait(cm_entry);
  1720 				connmgr_dis_and_wait(cm_entry);
       
  1721 				connmgr_release(cm_entry);
  1720 				/*
  1722 				/*
  1721 				 * connmgr_lock could have been
  1723 				 * connmgr_lock could have been
  1722 				 * dropped for the disconnect
  1724 				 * dropped for the disconnect
  1723 				 * processing so start over.
  1725 				 * processing so start over.
  1724 				 */
  1726 				 */