Date: Fri, 17 Apr 2009 19:20:29 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 160757 for review Message-ID: <200904171920.n3HJKThW074844@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904171920.n3HJKThW074844>