From owner-freebsd-net@FreeBSD.ORG Tue Jan 22 21:31:51 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A38594BB for ; Tue, 22 Jan 2013 21:31:51 +0000 (UTC) (envelope-from stevek@juniper.net) Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by mx1.freebsd.org (Postfix) with ESMTP id BA4186B4 for ; Tue, 22 Jan 2013 21:31:47 +0000 (UTC) Received: from P-EMHUB01-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKUP8FQvq0tcRF+vtoGWZNvpfrshn/G7/B@postini.com; Tue, 22 Jan 2013 13:31:51 PST Received: from stevek-ubuntu (172.25.4.212) by P-EMHUB01-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server id 8.3.213.0; Tue, 22 Jan 2013 13:30:25 -0800 Date: Tue, 22 Jan 2013 16:30:20 -0500 From: Steve Kiernan To: Peter Jeremy Subject: Re: [JNPR] Proposal for changes to network device drivers and network stack (RFC) Message-ID: <20130122163020.61ca7908@stevek-ubuntu> In-Reply-To: <20130119235624.GB30633@server.rulingia.com> References: <20130119235624.GB30633@server.rulingia.com> Organization: Juniper Networks Inc. X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ldP4lK=1LGjJcZRSslWOk97"; protocol="application/pgp-signature" Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 21:31:51 -0000 --Sig_/ldP4lK=1LGjJcZRSslWOk97 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 20 Jan 2013 10:56:24 +1100 Peter Jeremy wrote: > On 2013-Jan-17 14:38:06 -0500, "Stephen J. Kiernan" = wrote: > >The patch also includes moving zlib.[ch] and zlibutil.h out of net and=20 > >into sys/libkern (for the .c) and sys/sys (for the .h). >=20 > Good. >=20 > >It really doesn't make much sense for that code to live in net,=20 > >especially when so many things which are not the network stack utilize=20 > >it. >=20 > One thing that currently doesn't is ZFS - which has its own copy. It > would be nice if ZFS could use the common copy. I'll take a look at that. >=20 > >Is that going to be a problem? Should simple stubs be added in the=20 > >original locations in net/ to include the one in sys/ now? >=20 > IMHO, no. zlib wasn't an advertised API so nothing outside the base > OS should be using it. If you've moved all the kernel code to use > the new location, that should be enough. Okay, then I won't worry about adding ones. Thanks. -- Stephen J. Kiernan Juniper Networks, Inc. stevek_at_juniper.net --Sig_/ldP4lK=1LGjJcZRSslWOk97 Content-Type: application/pgp-signature; name="signature.asc" Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlD/BOwACgkQZSuJlLuTi6hQ1gCgyKMWbZjLY2GLSEiivTU/P3Zi VD4AoKHHKce7sB+mjDkuAHnXTSRA0oWc =+Flx -----END PGP SIGNATURE----- --Sig_/ldP4lK=1LGjJcZRSslWOk97--