From: Steffen Klassert
Date: Thu, 28 May 2015 08:25:47 +0200
> 1) Remove xfrm_queue_purge as this is the same as skb_queue_purge.
>
> 2) Optimize policy and state walk.
>
> 3) Use a sane return code if afinfo registration fails.
>
> 4) Only check fori a acquire state if the state is not valid.
1) Remove xfrm_queue_purge as this is the same as skb_queue_purge.
2) Optimize policy and state walk.
3) Use a sane return code if afinfo registration fails.
4) Only check fori a acquire state if the state is not valid.
5) Remove a unnecessary NULL check before xfrm_pol_hold
as it checks the