netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [IPSEC] Update out-of-date comment in __xfrm_state_delete
@ 2004-05-25 12:00 Herbert Xu
  2004-05-25 18:01 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2004-05-25 12:00 UTC (permalink / raw)
  To: David S. Miller, netdev

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

Hi Dave:

The comment at the end of __xfrm_state_delete no longer matches the
status quo.  This patch brings it up-to-date again.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 703 bytes --]

===== net/xfrm/xfrm_state.c 1.40 vs edited =====
--- 1.40/net/xfrm/xfrm_state.c	2004-05-25 21:54:27 +10:00
+++ edited/net/xfrm/xfrm_state.c	2004-05-25 21:58:06 +10:00
@@ -221,13 +221,9 @@
 		if (atomic_read(&x->refcnt) > 2)
 			xfrm_flush_bundles();
 
-		/* All xfrm_state objects are created by one of two possible
-		 * paths:
-		 *
-		 * 2) xfrm_state_lookup --> xfrm_state_insert
-		 *
-		 * The xfrm_state_lookup or xfrm_state_alloc call gives a
-		 * reference, and that is what we are dropping here.
+		/* All xfrm_state objects are created by xfrm_state_alloc.
+		 * The xfrm_state_alloc call gives a reference, and that
+		 * is what we are dropping here.
 		 */
 		atomic_dec(&x->refcnt);
 	}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-25 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25 12:00 [IPSEC] Update out-of-date comment in __xfrm_state_delete Herbert Xu
2004-05-25 18:01 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).