[JNPR] Proposal for changes to network device drivers and network stack (RFC)

Peter Jeremy peter at rulingia.com
Sat Jan 19 23:56:42 UTC 2013


On 2013-Jan-17 14:38:06 -0500, "Stephen J. Kiernan" <stevek at juniper.net> wrote:
>The patch also includes moving zlib.[ch] and zlibutil.h out of net and 
>into sys/libkern (for the .c) and sys/sys (for the .h).

Good.

>It really doesn't make much sense for that code to live in net, 
>especially when so many things which are not the network stack utilize 
>it.

One thing that currently doesn't is ZFS - which has its own copy.  It
would be nice if ZFS could use the common copy.

>Is that going to be a problem? Should simple stubs be added in the 
>original locations in net/ to include the one in sys/ now?

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.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130120/d449463d/attachment.sig>


More information about the freebsd-net mailing list