PERFORCE change 136781 for review

Steve Wise swise at FreeBSD.org
Tue Mar 4 03:38:48 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=136781

Change 136781 by swise at 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 {


More information about the p4-projects mailing list