Print this page
dccp: getting kernel segfaults, back out recent added features

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/dccp/dccp_output.c
          +++ new/usr/src/uts/common/inet/dccp/dccp_output.c
↓ open down ↓ 78 lines elided ↑ open up ↑
  79   79  /*
  80   80   *
  81   81   */
  82   82  void
  83   83  dccp_wput_sock(queue_t *wq, mblk_t *mp)
  84   84  {
  85   85          conn_t  *connp = Q_TO_CONN(wq);
  86   86          dccp_t  *dccp = connp->conn_dccp;
  87   87          struct T_capability_req *car = (struct T_capability_req *)mp->b_rptr;
  88   88  
       89 +        cmn_err(CE_NOTE, "dccp_wput_sock");
       90 +
  89   91          ASSERT(wq->q_qinfo == &dccp_sock_winit);
  90   92          wq->q_qinfo = &dccp_winit;
  91   93  
  92   94          ASSERT(IPCL_IS_TCP(connp));
  93   95          ASSERT(DCCP_IS_SOCKET(dccp));
  94   96  
  95   97          if (DB_TYPE(mp) == M_PCPROTO &&
  96   98              MBLKL(mp) == sizeof (struct T_capability_req) &&
  97   99              car->PRIM_type == T_CAPABILITY_REQ) {
  98  100                  dccp_capability_req(dccp, mp);
↓ open down ↓ 708 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX