]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nfnetlink_queue: avoid unnecessary atomic operation
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Dec 2007 09:28:10 +0000 (01:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:17 +0000 (14:56 -0800)
commitdbd84d44c8286b3a4acf9539972aaaa90411f2c0
treeabc6a3b47e6e283c6cc5358b0566b1a76cb4548a
parent431d001b4a6a498bd539d754b1ddcc9c485088a2
[NETFILTER]: nfnetlink_queue: avoid unnecessary atomic operation

The sequence counter doesn't need to be an atomic_t, just move the increment
inside the locked section.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_queue.c