PERFORCE change 130669 for review

Kip Macy kmacy at FreeBSD.org
Tue Dec 11 21:20:57 PST 2007


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

Change 130669 by kmacy at kmacy:storage:toehead on 2007/12/12 05:20:49

	move check into detach

Affected files ...

.. //depot/projects/toehead/sys/netinet/tcp_ofld.h#3 edit

Differences ...

==== //depot/projects/toehead/sys/netinet/tcp_ofld.h#3 (text+ko) ====

@@ -98,7 +98,8 @@
 static __inline void
 tcp_gen_detach(struct tcpcb *tp)
 {
-	ofld_detach(tp);
+	if (tp_offload(tp))
+		ofld_detach(tp);
 }
 
 #else


More information about the p4-projects mailing list