Re: [PATCH][net-next] xfrm: slightly optimise xfrm_input

2015-04-27 Thread Steffen Klassert
On Fri, Apr 24, 2015 at 04:49:31PM +0800, roy.qing...@gmail.com wrote: > From: Li RongQing > > Check x->km.state with XFRM_STATE_ACQ only when state is not > XFRM_STAT_VALID, not everytime > > Signed-off-by: Li RongQing Applied to ipsec-next, thanks a lot Li! -- To unsubscribe from this list:

[PATCH][net-next] xfrm: slightly optimise xfrm_input

2015-04-24 Thread roy . qing . li
From: Li RongQing Check x->km.state with XFRM_STATE_ACQ only when state is not XFRM_STAT_VALID, not everytime Signed-off-by: Li RongQing --- net/xfrm/xfrm_input.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c index