]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite48b9b2fb383879a5d758d526b5eb8de4509f467
treeabc6a3b47e6e283c6cc5358b0566b1a76cb4548a
parentf9c639905018967e57ea24b07e82de9bcd76339f
[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