+ ENDDEBUG
+ /* Are we about to reneg on credit?
+ * When might we do so?
+ * a) when using optimistic credit (which we no longer do).
+ * b) when drain() gets implemented (not in the plans).
+ * c) when D_RENEG is on.
+ * d) when DEC BIT response is implemented.
+ * (not- when we do this, we'll need to implement flow control
+ * confirmation)
+ */
+ if( SEQ_LT(tpcb, tpcb->tp_sent_uwe, olduwe) ) {
+ tpcb->tp_reneged = 1;
+ IncStat(ts_lcdt_reduced);
+ IFTRACE(D_CREDIT)
+ tptraceTPCB(TPPTmisc,
+ "RENEG: olduwe newuwe lcredit rcvnxt",
+ olduwe,
+ tpcb->tp_sent_uwe, tpcb->tp_lcredit,
+ tpcb->tp_rcvnxt);
+ ENDTRACE
+ }
+ IFPERF(tpcb)
+ /* new lwe is less than old uwe means we're
+ * acking before we received a whole window full
+ */
+ if( SEQ_LT( tpcb, tpcb->tp_rcvnxt, olduwe) ) {
+ /* tmp1 = number of pkts fewer than the full window */
+ register int tmp1 =
+ (int) SEQ_SUB( tpcb, olduwe, tpcb->tp_rcvnxt);