From owner-cvs-all@FreeBSD.ORG Mon Feb 27 16:56:22 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC71516A420; Mon, 27 Feb 2006 16:56:22 +0000 (GMT) (envelope-from wkoszek@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DA7143D45; Mon, 27 Feb 2006 16:56:22 +0000 (GMT) (envelope-from wkoszek@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1RGuMpB028552; Mon, 27 Feb 2006 16:56:22 GMT (envelope-from wkoszek@repoman.freebsd.org) Received: (from wkoszek@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1RGuM8u028551; Mon, 27 Feb 2006 16:56:22 GMT (envelope-from wkoszek) Message-Id: <200602271656.k1RGuM8u028551@repoman.freebsd.org> From: "Wojciech A. Koszek" Date: Mon, 27 Feb 2006 16:56:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/modules/crypto Makefile src/sys/modules/if_ppp Makefile src/sys/net ppp_deflate.c src/sys/opencrypto cryptodev.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 16:56:22 -0000 wkoszek 2006-02-27 16:56:22 UTC FreeBSD src repository Modified files: sys/modules/crypto Makefile sys/modules/if_ppp Makefile sys/net ppp_deflate.c sys/opencrypto cryptodev.c Log: 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) Revision Changes Path 1.4 +0 -2 src/sys/modules/crypto/Makefile 1.35 +1 -1 src/sys/modules/if_ppp/Makefile 1.22 +2 -0 src/sys/net/ppp_deflate.c 1.28 +1 -0 src/sys/opencrypto/cryptodev.c