Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 03:38:47 GMT
From:      Steve Wise <swise@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 136781 for review
Message-ID:  <200803040338.m243clQG044325@repoman.freebsd.org>

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

Change 136781 by swise@swise:vic10:iwarp on 2008/03/04 03:37:51

	Handle clientless TERMINATE messages.

Affected files ...

.. //depot/projects/iwarp/sys/dev/cxgb/ulp/tom/cxgb_tom.c#13 edit

Differences ...

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

@@ -927,7 +927,7 @@
 	struct toe_tid_entry *toe_tid;
 
 	toe_tid = lookup_tid(&(T3C_DATA (dev))->tid_maps, hwtid);
-	if (toe_tid->ctx && toe_tid->client->handlers &&
+	if (toe_tid && toe_tid->ctx && toe_tid->client->handlers &&
 		toe_tid->client->handlers[opcode]) {
 		return toe_tid->client->handlers[opcode](dev, m, toe_tid->ctx);
 	} else {



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