Commit 58379026 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[IPSEC]: Fix outdated comment in __xfrm_state_delete.

parent abcdeaaf
...@@ -221,13 +221,9 @@ static void __xfrm_state_delete(struct xfrm_state *x) ...@@ -221,13 +221,9 @@ static void __xfrm_state_delete(struct xfrm_state *x)
if (atomic_read(&x->refcnt) > 2) if (atomic_read(&x->refcnt) > 2)
xfrm_flush_bundles(); xfrm_flush_bundles();
/* All xfrm_state objects are created by one of two possible /* All xfrm_state objects are created by xfrm_state_alloc.
* paths: * The xfrm_state_alloc call gives a reference, and that
* * is what we are dropping here.
* 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.
*/ */
atomic_dec(&x->refcnt); atomic_dec(&x->refcnt);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment