Thanks paul,

This is now merged.

Bruce

In message: [PATCH v5.10-rt] xfrm: fix up warning introduced by pseudo revert
on 07/07/2021 Paul Gortmaker wrote:

> To fix:
>   net/xfrm/xfrm_state.c:47:42: warning: 'xfrm_state_hash_generation' defined 
> but not used
> 
> The line was removed in the 5.10-stable backport of commit e88add19f681
> ("net: xfrm: Localize sequence counter per network namespace") but then
> was incorrectly reintroduced in the commit referenced below.
> 
> Fixes: 71b740f9373d ('Revert "net/xfrm: fixup 5.10.30 -stable merge"')
> Cc: Yanfei Xu <[email protected]>
> Signed-off-by: Paul Gortmaker <[email protected]>
> 
> diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
> index e0152019db6f..4c7cae69ea29 100644
> --- a/net/xfrm/xfrm_state.c
> +++ b/net/xfrm/xfrm_state.c
> @@ -44,7 +44,6 @@ static void xfrm_state_gc_task(struct work_struct *work);
>   */
>  
>  static unsigned int xfrm_state_hashmax __read_mostly = 1 * 1024 * 1024;
> -static __read_mostly seqcount_spinlock_t xfrm_state_hash_generation;
>  static struct kmem_cache *xfrm_state_cache __ro_after_init;
>  
>  static DECLARE_WORK(xfrm_state_gc_work, xfrm_state_gc_task);
> -- 
> 2.32.0
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10107): 
https://lists.yoctoproject.org/g/linux-yocto/message/10107
Mute This Topic: https://lists.yoctoproject.org/mt/84058913/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to