]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nfnetlink_log: RCU conversion
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 9 Jun 2010 16:14:58 +0000 (18:14 +0200)
committerPatrick McHardy <kaber@trash.net>
Wed, 9 Jun 2010 16:14:58 +0000 (18:14 +0200)
commit408f4801b96f4c805fc711868cbe17fb4538a1c3
treec8350ba3c47861b11857ff943d8647d7bd08eb36
parent4452667e7981541ceab631dd57495352df3b28a2
netfilter: nfnetlink_log: RCU conversion

- instances_lock becomes a spinlock
- lockless lookups

While nfnetlink_log probably not performance critical, using less
rwlocks in our code is always welcomed...

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nfnetlink_log.c