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 2.0 rc7
[linux-2.6.git]
/
net
/
ipv4
/
ipvs
/
ip_vs_proto_udp.c
diff --git
a/net/ipv4/ipvs/ip_vs_proto_udp.c
b/net/ipv4/ipvs/ip_vs_proto_udp.c
index
443ec45
..
8ae5f2e
100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_proto_udp.c
+++ b/
net/ipv4/ipvs/ip_vs_proto_udp.c
@@
-277,7
+277,7
@@
udp_csum_check(struct sk_buff *skb, struct ip_vs_protocol *pp)
#define UDP_APP_TAB_MASK (UDP_APP_TAB_SIZE - 1)
static struct list_head udp_apps[UDP_APP_TAB_SIZE];
-static
spinlock_t udp_app_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(udp_app_lock)
;
static inline __u16 udp_app_hashkey(__u16 port)
{