Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 03:42:55 GMT
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 141689 for review
Message-ID:  <200805160342.m4G3gtPn045474@repoman.freebsd.org>

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

Change 141689 by julian@julian_trafmon1 on 2008/05/16 03:42:47

	 let toe stuff know about vimages.

Affected files ...

.. //depot/projects/vimage/src/sys/netinet/tcp_syncache.c#26 edit

Differences ...

==== //depot/projects/vimage/src/sys/netinet/tcp_syncache.c#26 (text+ko) ====

@@ -1410,8 +1410,9 @@
     struct tcphdr *th, struct inpcb *inp, struct socket **lsop,
     struct toe_usrreqs *tu, void *toepcb)
 {
+	INIT_VNET_INET(curvnet);
 
-	INP_INFO_WLOCK(&tcbinfo);
+	INP_INFO_WLOCK(&V_tcbinfo);
 	INP_WLOCK(inp);
 	_syncache_add(inc, to, th, inp, lsop, NULL, tu, toepcb);
 }



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