Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2007 19:37:10 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 129837 for review
Message-ID:  <200711301937.lAUJbAR4072849@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=129837

Change 129837 by kmacy@kmacy:storage:toestack on 2007/11/30 19:36:14

	the tcpcb may already have gone away at this point make sure
	we're unhooked earlier on

Affected files ...

.. //depot/projects/toestack/sys/dev/cxgb/ulp/tom/cxgb_tom.c#14 edit

Differences ...

==== //depot/projects/toestack/sys/dev/cxgb/ulp/tom/cxgb_tom.c#14 (text+ko) ====

@@ -163,20 +163,9 @@
 void
 toepcb_release(struct toepcb *toep)
 {
-	struct tcpcb *tp;
-	
-	    
 	if (toep->tp_refcount == 1) {
-		/*
-		 * XXX clear our reference on the inpcb
-		 */
-		cxgb_remove_tid(TOM_DATA(toep->tp_toedev)->cdev, NULL, toep->tp_tid);
-		if ((tp = toep->tp_tp) != NULL) {
-			INP_LOCK(tp->t_inpcb);
-			tp->t_flags &= ~TF_TOE;
-			tp->t_toe = NULL;
-			INP_UNLOCK(tp->t_inpcb);
-		}
+		printf("doing final toepcb free\n");
+		
 		free(toep, M_DEVBUF);
 		return;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711301937.lAUJbAR4072849>