cxzhang wrote:

Fix for a minor double xfrm_state_put() bug.

Both xfrm_state_put's are needed, explanation copied from
http://oss.sgi.com/projects/netdev/archive/2005-05/msg00361.html:

We hold two references (one from xfrm_state_alloc(), one
from xfrm_state_hold()), but only drop one. We need to take the
reference because the reference from xfrm_state_alloc() can
be dropped by __xfrm_state_delete(), so the fix is to drop both
references on error. Same problem in xfrm_user.c.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to