diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2015-04-30 17:25:19 +0800 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2015-05-05 09:27:01 +0200 |
commit | de2ad486cb6cfdf3ef79a96a18d78bb1b135c0e0 (patch) | |
tree | 79cd7e2cac4c67cefa9cc905b7b5c6ece3607ea4 /firmware | |
parent | 586f2eb416f4271444e807b96346df3d30e8dfb5 (diff) | |
download | linux-de2ad486cb6cfdf3ef79a96a18d78bb1b135c0e0.tar.gz linux-de2ad486cb6cfdf3ef79a96a18d78bb1b135c0e0.tar.bz2 linux-de2ad486cb6cfdf3ef79a96a18d78bb1b135c0e0.zip |
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 <roy.qing.li@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions