Print this page
MFV: illumos-gate@b664061f7bf47f885e4f325a1f1ea21e8e09ea4b
9900 fcip: debug statement is mixed up
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: Toomas Soome <tsoome@me.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fibre-channel/ulp/fcip.c
          +++ new/usr/src/uts/common/io/fibre-channel/ulp/fcip.c
↓ open down ↓ 5240 lines elided ↑ open up ↑
5241 5241          dlap = (struct fcipdladdr *)(mp->b_rptr + off);
5242 5242  
5243 5243          /*
5244 5244           * Now get the destination structure for the remote NPORT
5245 5245           */
5246 5246          ether_to_wwn(&dlap->dl_phys, &wwn);
5247 5247          fdestp = fcip_get_dest(fptr, &wwn);
5248 5248  
5249 5249          if (fdestp == NULL) {
5250 5250                  FCIP_DEBUG(FCIP_DEBUG_DLPI, (CE_NOTE,
5251      -                    "udreq - couldn't find dest struct for remote port");
5252      -                dluderrorind(wq, mp, (mp->b_rptr + off), len, DL_BADDATA, 0));
     5251 +                    "udreq - couldn't find dest struct for remote port"));
     5252 +                dluderrorind(wq, mp, (mp->b_rptr + off), len, DL_BADDATA, 0);
5253 5253                  return;
5254 5254          }
5255 5255  
5256 5256          /*
5257 5257           * Network header + SAP
5258 5258           */
5259 5259          hdr_size = sizeof (fcph_network_hdr_t) + sizeof (llc_snap_hdr_t);
5260 5260  
5261 5261          /* DB_REF gives the no. of msgs pointing to this block */
5262 5262          if ((DB_REF(nmp) == 1) &&
↓ open down ↓ 2364 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX