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

Steve Kiernan stevek at juniper.net
Tue Jan 22 21:31:51 UTC 2013


On Sun, 20 Jan 2013 10:56:24 +1100
Peter Jeremy <peter at rulingia.com> wrote:

> 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.

I'll take a look at that.

> 
> >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.

Okay, then I won't worry about adding ones.

Thanks.

--
Stephen J. Kiernan
Juniper Networks, Inc.
stevek_at_juniper.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130122/df40c18d/attachment.sig>


More information about the freebsd-net mailing list