]> bbs.cooldavid.org Git - net-next-2.6.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)
commitbed1be20867d17a3eb2fb5e1613ebdc50c83b8aa
treec8350ba3c47861b11857ff943d8647d7bd08eb36
parentc463ac972315a0c86bb20b8d35225baa75caf899
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