From owner-p4-projects@FreeBSD.ORG Fri May 16 03:42:56 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6CBB8106566C; Fri, 16 May 2008 03:42:56 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16C7A106564A for ; Fri, 16 May 2008 03:42:56 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E252F8FC1D for ; Fri, 16 May 2008 03:42:55 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4G3gtUE045476 for ; Fri, 16 May 2008 03:42:55 GMT (envelope-from julian@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4G3gtPn045474 for perforce@freebsd.org; Fri, 16 May 2008 03:42:55 GMT (envelope-from julian@freebsd.org) Date: Fri, 16 May 2008 03:42:55 GMT Message-Id: <200805160342.m4G3gtPn045474@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer To: Perforce Change Reviews Cc: Subject: PERFORCE change 141689 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 03:42:56 -0000 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); }