diff options
author | vanhu <vanhu@FreeBSD.org> | 2009-03-19 15:44:13 +0000 |
---|---|---|
committer | vanhu <vanhu@FreeBSD.org> | 2009-03-19 15:44:13 +0000 |
commit | 72aca0d9479f7f4c8fbc003cd979485165832cde (patch) | |
tree | 823378ffefaa62823ccb9abf5f35cc05239aa4a8 | |
parent | 0b62006223bc72e894f48fd2da178bee0d0fb68a (diff) | |
download | FreeBSD-src-72aca0d9479f7f4c8fbc003cd979485165832cde.zip FreeBSD-src-72aca0d9479f7f4c8fbc003cd979485165832cde.tar.gz |
Fixed style for some comments
Approved by: gnn(mentor)
-rw-r--r-- | sys/netipsec/key.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c index 7956a8d..241adb9 100644 --- a/sys/netipsec/key.c +++ b/sys/netipsec/key.c @@ -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); } |