netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull request (net-next): ipsec-next 2016-09-08
@ 2016-09-08  5:54 Steffen Klassert
  2016-09-08  5:54 ` [PATCH 01/17] xfrm: constify xfrm_replay structures Steffen Klassert
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Steffen Klassert @ 2016-09-08  5:54 UTC (permalink / raw)
  To: David Miller; +Cc: Herbert Xu, Steffen Klassert, netdev

1) Constify the xfrm_replay structures. From Julia Lawall

2) Protect xfrm state hash tables with rcu, lookups
   can be done now without acquiring xfrm_state_lock.
   From Florian Westphal.

3) Protect xfrm policy hash tables with rcu, lookups
   can be done now without acquiring xfrm_policy_lock.
   From Florian Westphal.

4) We don't need to have a garbage collector list per
   namespace anymore, so use a global one instead.
   From Florian Westphal.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 0184165b2f42c4b032da9dd11546bfbaeb5afd4e:

  ravb: add sleep PM suspend/resume support (2016-08-09 16:16:08 -0700)

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 35db57bbc4b7ab810bba6e6d6954a0faf5a842cf:

  xfrm: state: remove per-netns gc task (2016-08-24 13:16:06 +0200)

----------------------------------------------------------------
Florian Westphal (15):
      xfrm: state: use hlist_for_each_entry_rcu helper
      xfrm: state: use atomic_inc_not_zero to increment refcount
      xfrm: state: delay freeing until rcu grace period has elapsed
      xfrm: state: add sequence count to detect hash resizes
      xfrm: state: use rcu_deref and assign_pointer helpers
      xfrm: state: don't use lock anymore unless acquire operation is needed
      xfrm: policy: use rcu versions for iteration and list add/del
      xfrm: policy: prepare policy_bydst hash for rcu lookups
      xfrm: policy: add sequence count to sync with hash resize
      xfrm: policy: use atomic_inc_not_zero in rcu section
      xfrm: policy: make xfrm_policy_lookup_bytype lockless
      xfrm: policy: only use rcu in xfrm_sk_policy_lookup
      xfrm: policy: don't acquire policy lock in xfrm_spd_getinfo
      xfrm: policy: convert policy_lock to spinlock
      xfrm: state: remove per-netns gc task

Julia Lawall (1):
      xfrm: constify xfrm_replay structures

Steffen Klassert (1):
      xfrm: Fix xfrm_policy_lock imbalance

 include/net/netns/xfrm.h |  12 ++--
 include/net/xfrm.h       |   2 +-
 net/xfrm/xfrm_policy.c   | 145 ++++++++++++++++++++++++++++-------------------
 net/xfrm/xfrm_replay.c   |   6 +-
 net/xfrm/xfrm_state.c    | 121 +++++++++++++++++++++++++--------------
 5 files changed, 173 insertions(+), 113 deletions(-)

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

end of thread, other threads:[~2016-09-08 20:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08  5:54 pull request (net-next): ipsec-next 2016-09-08 Steffen Klassert
2016-09-08  5:54 ` [PATCH 01/17] xfrm: constify xfrm_replay structures Steffen Klassert
2016-09-08  5:54 ` [PATCH 02/17] xfrm: state: use hlist_for_each_entry_rcu helper Steffen Klassert
2016-09-08  5:54 ` [PATCH 03/17] xfrm: state: use atomic_inc_not_zero to increment refcount Steffen Klassert
2016-09-08  5:54 ` [PATCH 04/17] xfrm: state: delay freeing until rcu grace period has elapsed Steffen Klassert
2016-09-08  5:54 ` [PATCH 05/17] xfrm: state: add sequence count to detect hash resizes Steffen Klassert
2016-09-08  5:54 ` [PATCH 06/17] xfrm: state: use rcu_deref and assign_pointer helpers Steffen Klassert
2016-09-08  5:54 ` [PATCH 07/17] xfrm: state: don't use lock anymore unless acquire operation is needed Steffen Klassert
2016-09-08  5:54 ` [PATCH 08/17] xfrm: policy: use rcu versions for iteration and list add/del Steffen Klassert
2016-09-08  5:54 ` [PATCH 09/17] xfrm: policy: prepare policy_bydst hash for rcu lookups Steffen Klassert
2016-09-08  5:54 ` [PATCH 10/17] xfrm: policy: add sequence count to sync with hash resize Steffen Klassert
2016-09-08  5:54 ` [PATCH 11/17] xfrm: policy: use atomic_inc_not_zero in rcu section Steffen Klassert
2016-09-08  5:54 ` [PATCH 12/17] xfrm: policy: make xfrm_policy_lookup_bytype lockless Steffen Klassert
2016-09-08  5:54 ` [PATCH 13/17] xfrm: policy: only use rcu in xfrm_sk_policy_lookup Steffen Klassert
2016-09-08  5:54 ` [PATCH 14/17] xfrm: policy: don't acquire policy lock in xfrm_spd_getinfo Steffen Klassert
2016-09-08  5:54 ` [PATCH 15/17] xfrm: policy: convert policy_lock to spinlock Steffen Klassert
2016-09-08  5:54 ` [PATCH 16/17] xfrm: Fix xfrm_policy_lock imbalance Steffen Klassert
2016-09-08  5:54 ` [PATCH 17/17] xfrm: state: remove per-netns gc task Steffen Klassert
2016-09-08 20:10 ` pull request (net-next): ipsec-next 2016-09-08 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).