projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- patches.fixes/patch-2.6.11-rc1: 2.6.11-rc1.
[linux-flexiantxendom0-3.2.10.git]
/
net
/
bridge
/
netfilter
/
ebt_limit.c
diff --git
a/net/bridge/netfilter/ebt_limit.c
b/net/bridge/netfilter/ebt_limit.c
index
20c57d5
..
637c884
100644
(file)
--- a/
net/bridge/netfilter/ebt_limit.c
+++ b/
net/bridge/netfilter/ebt_limit.c
@@
-18,7
+18,7
@@
#include <linux/netdevice.h>
#include <linux/spinlock.h>
-static spinlock_t limit_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(limit_lock);
#define MAX_CPJ (0xFFFFFFFF / (HZ*60*60*24))