diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-09 16:25:08 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-06-09 16:25:08 +0200 |
commit | 144ad2a6c56b6109ff0f64074863ae5cf1c1698a (patch) | |
tree | 58b3934b3b2ef3c739cd4a77b08a809d0290be7e /net/ipv6/raw.c | |
parent | 5756d346c7cdefcd84a8ac4901167cdfb5447b69 (diff) |
netfilter: ip6_queue: rwlock to spinlock conversion
Converts queue_lock rwlock to a spinlock.
(readlocked part can be changed by reads of integer values)
One atomic operation instead of four per ipq_enqueue_packet() call.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv6/raw.c')
0 files changed, 0 insertions, 0 deletions