remarkable-linux/net/xfrm
jamal 6836b9bdd9 xfrm: avoid spinlock in get_acqseq() used by xfrm user
Eric's version fixed it for pfkey. This one is for xfrm user.
I thought about amortizing those two get_acqseq()s but it seems
reasonable to have two of these sequence spaces for the two different
interfaces.

cheers,
jamal
commit d5168d5addbc999c94aacda8f28a4a173756a72b
Author: Jamal Hadi Salim <hadi@cyberus.ca>
Date:   Tue Feb 16 06:51:22 2010 -0500

    xfrm: avoid spinlock in get_acqseq() used by xfrm user

    This is in the same spirit as commit 28aecb9d77
    by Eric Dumazet.
    Use atomic_inc_return() in get_acqseq() to avoid taking a spinlock

    Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 20:20:24 -08:00
..
Kconfig
Makefile
xfrm_algo.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-12-01 22:13:38 -08:00
xfrm_hash.c
xfrm_hash.h Fix xfrm hash collisions by changing __xfrm4_daddr_saddr_hash to hash addresses with addition 2009-08-09 21:45:31 -07:00
xfrm_input.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
xfrm_ipcomp.c ipcomp: Remove spurious truesize increase 2009-01-11 00:04:11 -08:00
xfrm_output.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
xfrm_policy.c xfrm: Flushing empty SPD generates false events 2010-02-15 21:49:50 -08:00
xfrm_proc.c net: constify MIB name tables 2010-01-23 01:21:27 -08:00
xfrm_state.c xfrm: avoid spinlock in get_acqseq() used by xfrm user 2010-02-16 20:20:24 -08:00
xfrm_sysctl.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
xfrm_user.c xfrm: Flushing empty SPD generates false events 2010-02-15 21:49:50 -08:00