diff options
author | jamal | 2010-02-16 03:01:22 +0100 |
---|---|---|
committer | David S. Miller | 2010-02-17 05:20:24 +0100 |
commit | 6836b9bdd98e3b500cd49512484df68f46e14659 (patch) | |
tree | 39eb8e910213e71ab707ad5d3e0b1606fa844f54 /kernel/trace | |
parent | netdev: bfin_mac: drop experimental markings on RMII support (diff) | |
download | kernel-qcow2-linux-6836b9bdd98e3b500cd49512484df68f46e14659.tar.gz kernel-qcow2-linux-6836b9bdd98e3b500cd49512484df68f46e14659.tar.xz kernel-qcow2-linux-6836b9bdd98e3b500cd49512484df68f46e14659.zip |
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 28aecb9d7728dc26bf03ce7925fe622023a83a2a
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>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions