netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull request (net-next): ipsec-next 2015-05-28
@ 2015-05-28  6:25 Steffen Klassert
  2015-05-28  6:25 ` [PATCH 1/7] xfrm: remove the xfrm_queue_purge definition Steffen Klassert
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Steffen Klassert @ 2015-05-28  6:25 UTC (permalink / raw)
  To: David Miller; +Cc: Herbert Xu, Steffen Klassert, netdev

1) Remove xfrm_queue_purge as this is the same as skb_queue_purge.

2) Optimize policy and state walk.

3) Use a sane return code if afinfo registration fails.

4) Only check fori a acquire state if the state is not valid.

5) Remove a unnecessary NULL check before xfrm_pol_hold
   as it checks the input for NULL.

6) Return directly if the xfrm hold queue is empty, avoid
   to take a lock as it is nothing to do in this case.

7) Optimize the inexact policy search and allow for matching
   of policies with priority ~0U.

All from Li RongQing.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 04b7fe6a4a231871ef681bc95e08fe66992f7b1f:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide (2015-04-17 16:36:59 -0400)

are available in the git repository at:


  git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master

for you to fetch changes up to 8faf491e642011f449d6405be52bedb70964aed6:

  xfrm: optimise to search the inexact policy list (2015-05-18 10:31:56 +0200)

----------------------------------------------------------------
Li RongQing (7):
      xfrm: remove the xfrm_queue_purge definition
      xfrm: optimise the use of walk list header in xfrm_policy/state_walk
      xfrm: fix the return code when xfrm_*_register_afinfo failed
      xfrm: slightly optimise xfrm_input
      xfrm: remove the unnecessary checking before call xfrm_pol_hold
      xfrm: move the checking for old xfrm_policy hold_queue to beginning
      xfrm: optimise to search the inexact policy list

 net/xfrm/xfrm_input.c  | 12 ++++++------
 net/xfrm/xfrm_policy.c | 42 ++++++++++++++++++++----------------------
 net/xfrm/xfrm_state.c  |  4 ++--
 3 files changed, 28 insertions(+), 30 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-05-29  3:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28  6:25 pull request (net-next): ipsec-next 2015-05-28 Steffen Klassert
2015-05-28  6:25 ` [PATCH 1/7] xfrm: remove the xfrm_queue_purge definition Steffen Klassert
2015-05-28  6:25 ` [PATCH 2/7] xfrm: optimise the use of walk list header in xfrm_policy/state_walk Steffen Klassert
2015-05-28  6:25 ` [PATCH 3/7] xfrm: fix the return code when xfrm_*_register_afinfo failed Steffen Klassert
2015-05-28  6:25 ` [PATCH 4/7] xfrm: slightly optimise xfrm_input Steffen Klassert
2015-05-28  6:25 ` [PATCH 5/7] xfrm: remove the unnecessary checking before call xfrm_pol_hold Steffen Klassert
2015-05-28  6:25 ` [PATCH 6/7] xfrm: move the checking for old xfrm_policy hold_queue to beginning Steffen Klassert
2015-05-28  6:25 ` [PATCH 7/7] xfrm: optimise to search the inexact policy list Steffen Klassert
2015-05-29  3:23 ` pull request (net-next): ipsec-next 2015-05-28 David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).