]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This patch fixes a problem, which exists if you have IPSEC in your kernel
authorwkoszek <wkoszek@FreeBSD.org>
Mon, 27 Feb 2006 16:56:22 +0000 (16:56 +0000)
committerwkoszek <wkoszek@FreeBSD.org>
Mon, 27 Feb 2006 16:56:22 +0000 (16:56 +0000)
commit296928cec1bbec980dbc12f6b56a3419651cc819
tree90c53c0ea97b80896810305acd80ed5c26b81d77
parent3ad16c4a5f6685c188056cbd45faf762e1e6819e
This patch fixes a problem, which exists if you have IPSEC in your kernel
and want to have crypto support loaded as KLD. By moving zlib to separate
module and adding MODULE_DEPEND directives, it is possible to use such
configuration without complication. Otherwise, since IPSEC is linked with
zlib (just like crypto.ko) you'll get following error:

interface zlib.1 already present in the KLD 'kernel'!

Approved by: cognet (mentor)
sys/modules/crypto/Makefile
sys/modules/if_ppp/Makefile
sys/net/ppp_deflate.c
sys/opencrypto/cryptodev.c