git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
net
/
ipv4
/
protocol.c
diff --git
a/net/ipv4/protocol.c
b/net/ipv4/protocol.c
index
a8b4bdc
..
90a587c
100644
(file)
--- a/
net/ipv4/protocol.c
+++ b/
net/ipv4/protocol.c
@@
-49,7
+49,7
@@
#include <linux/igmp.h>
struct net_protocol *inet_protos[MAX_INET_PROTOS];
-static
spinlock_t inet_proto_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(inet_proto_lock)
;
/*
* Add a protocol handler to the hash tables