Skip to content
Commit de2ad486 authored by Li RongQing's avatar Li RongQing Committed by Steffen Klassert
Browse files

xfrm: move the checking for old xfrm_policy hold_queue to beginning



if hold_queue of old xfrm_policy is NULL, return directly, then not need to
run other codes, especially take the spin lock

Signed-off-by: default avatarLi RongQing <roy.qing.li@gmail.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 586f2eb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment