[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150427103656.GK8928@secunet.com>
Date: Mon, 27 Apr 2015 12:37:02 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: <roy.qing.li@...il.com>, <netdev@...r.kernel.org>
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:13:18PM +0800, Herbert Xu wrote:
> 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>
Applied to ipsec-next, thanks everyone!
--
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