Re: [Patch] xfrm_policy_destroy: rename and relative fixes

2008-01-07 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Tue, 8 Jan 2008 17:15:16 +1100 > On Thu, Jan 03, 2008 at 08:05:50PM +0800, WANG Cong wrote: > > > > Since __xfrm_policy_destroy is used to destory the resources > > allocated by xfrm_policy_alloc. So using the name > > __xfrm_policy_destroy is not corres

Re: [Patch] xfrm_policy_destroy: rename and relative fixes

2008-01-07 Thread Herbert Xu
On Thu, Jan 03, 2008 at 08:05:50PM +0800, WANG Cong wrote: > > Since __xfrm_policy_destroy is used to destory the resources > allocated by xfrm_policy_alloc. So using the name > __xfrm_policy_destroy is not correspond with xfrm_policy_alloc. > Rename it to xfrm_policy_destroy. > > And along with

[Patch] xfrm_policy_destroy: rename and relative fixes

2008-01-03 Thread WANG Cong
Since __xfrm_policy_destroy is used to destory the resources allocated by xfrm_policy_alloc. So using the name __xfrm_policy_destroy is not correspond with xfrm_policy_alloc. Rename it to xfrm_policy_destroy. And along with some instances that call xfrm_policy_alloc but not using xfrm_policy_dest