From owner-svn-src-all@FreeBSD.ORG Thu Mar 19 15:44:13 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86409106571C; Thu, 19 Mar 2009 15:44:13 +0000 (UTC) (envelope-from vanhu@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 72BE38FC0C; Thu, 19 Mar 2009 15:44:13 +0000 (UTC) (envelope-from vanhu@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2JFiDCZ067297; Thu, 19 Mar 2009 15:44:13 GMT (envelope-from vanhu@svn.freebsd.org) Received: (from vanhu@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2JFiD63067296; Thu, 19 Mar 2009 15:44:13 GMT (envelope-from vanhu@svn.freebsd.org) Message-Id: <200903191544.n2JFiD63067296@svn.freebsd.org> From: VANHULLEBUS Yvan Date: Thu, 19 Mar 2009 15:44:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190071 - head/sys/netipsec X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 15:44:15 -0000 Author: vanhu Date: Thu Mar 19 15:44:13 2009 New Revision: 190071 URL: http://svn.freebsd.org/changeset/base/190071 Log: Fixed style for some comments Approved by: gnn(mentor) Modified: head/sys/netipsec/key.c Modified: head/sys/netipsec/key.c ============================================================================== --- head/sys/netipsec/key.c Thu Mar 19 15:40:44 2009 (r190070) +++ head/sys/netipsec/key.c Thu Mar 19 15:44:13 2009 (r190071) @@ -2687,7 +2687,9 @@ key_delsah(sah) if (sav->refcnt == 0) { /* sanity check */ KEY_CHKSASTATE(state, sav->state, __func__); - /* do NOT call KEY_FREESAV here: it will only delete the sav if refcnt == 1, + /* + * do NOT call KEY_FREESAV here: + * it will only delete the sav if refcnt == 1, * where we already know that refcnt == 0 */ key_delsav(sav); @@ -4134,8 +4136,7 @@ key_flush_sad(time_t now) /* if LARVAL entry doesn't become MATURE, delete it. */ LIST_FOREACH_SAFE(sav, &sah->savtree[SADB_SASTATE_LARVAL], chain, nextsav) { - /* Need to also check refcnt for a larval SA ??? - */ + /* Need to also check refcnt for a larval SA ??? */ if (now - sav->created > V_key_larval_lifetime) KEY_FREESAV(&sav); }