From: Li RongQing Date: Thu, 30 Apr 2015 09:25:19 +0000 (+0800) Subject: xfrm: move the checking for old xfrm_policy hold_queue to beginning X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~192^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2ad486cb6cfdf3ef79a96a18d78bb1b135c0e0;p=pandora-kernel.git 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: Li RongQing Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed