Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2007 05:20:55 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 130669 for review
Message-ID:  <200712120520.lBC5Ktkb009303@repoman.freebsd.org>

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

Change 130669 by kmacy@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



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