Skip to content
Commit 8ea93938 authored by Xin Long's avatar Xin Long Committed by Paul Gortmaker
Browse files

xfrm: remove the xfrm_state_put call becofe going to out_reset

commit db87668a upstream.

This xfrm_state_put call in esp4/6_gro_receive() will cause
double put for state, as in out_reset path secpath_reset()
will put all states set in skb sec_path.

So fix it by simply remove the xfrm_state_put call.

Fixes: 6ed69184

 ("xfrm: Reset secpath in xfrm failure")
Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent b36df804
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