Date: Thu, 19 Mar 2009 15:44:13 +0000 (UTC) From: VANHULLEBUS Yvan <vanhu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190071 - head/sys/netipsec Message-ID: <200903191544.n2JFiD63067296@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903191544.n2JFiD63067296>