From owner-p4-projects@FreeBSD.ORG Fri Apr 17 19:20:30 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 65BEC1065672; Fri, 17 Apr 2009 19:20:30 +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 1AAC1106566B for ; Fri, 17 Apr 2009 19:20:30 +0000 (UTC) (envelope-from zec@fer.hr) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 09C918FC13 for ; Fri, 17 Apr 2009 19:20:30 +0000 (UTC) (envelope-from zec@fer.hr) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n3HJKTZM074846 for ; Fri, 17 Apr 2009 19:20:29 GMT (envelope-from zec@fer.hr) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3HJKThW074844 for perforce@freebsd.org; Fri, 17 Apr 2009 19:20:29 GMT (envelope-from zec@fer.hr) Date: Fri, 17 Apr 2009 19:20:29 GMT Message-Id: <200904171920.n3HJKThW074844@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to zec@fer.hr using -f From: Marko Zec To: Perforce Change Reviews Cc: Subject: PERFORCE change 160757 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, 17 Apr 2009 19:20:31 -0000 http://perforce.freebsd.org/chv.cgi?CH=160757 Change 160757 by zec@zec_tpx32 on 2009/04/17 19:20:09 Use the appropriate sizeof(struct ipsec) when declaring storage requirements for ipsec vnet module. Spotted by: bz Affected files ... .. //depot/projects/vimage-commit2/src/sys/netipsec/ipsec.c#29 edit Differences ... ==== //depot/projects/vimage-commit2/src/sys/netipsec/ipsec.c#29 (text+ko) ==== @@ -248,7 +248,7 @@ static const vnet_modinfo_t vnet_ipsec_modinfo = { .vmi_id = VNET_MOD_IPSEC, .vmi_name = "ipsec", - .vmi_size = sizeof(struct vnet_inet), + .vmi_size = sizeof(struct vnet_ipsec), .vmi_dependson = VNET_MOD_INET, /* XXX revisit - INET6 ? */ .vmi_iattach = ipsec_iattach };