[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150422091318.GA9719@gondor.apana.org.au>
Date: Wed, 22 Apr 2015 17:13:18 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: roy.qing.li@...il.com
Cc: netdev@...r.kernel.org, steffen.klassert@...unet.com
Subject: Re: [PATCH][net-next][v2] xfrm: optimise the use of walk list header
in xfrm_policy/state_walk
On Wed, Apr 22, 2015 at 05:09:54PM +0800, roy.qing.li@...il.com wrote:
> From: Li RongQing <roy.qing.li@...il.com>
>
> The walk from input is the list header, and marked as dead, and will
> be skipped in loop.
>
> list_first_entry() can be used to return the true usable value from
> walk if walk is not empty
>
> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
Acked-by: Herbert Xu <herbert@...dor.apana.org.au>
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists