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
/
ipv6
/
xfrm6_tunnel.c
diff --git
a/net/ipv6/xfrm6_tunnel.c
b/net/ipv6/xfrm6_tunnel.c
index
9616a63
..
1df30ba
100644
(file)
--- a/
net/ipv6/xfrm6_tunnel.c
+++ b/
net/ipv6/xfrm6_tunnel.c
@@
-72,7
+72,7
@@
struct xfrm6_tunnel_spi {
# define XFRM6_TUNNEL_SPI_MAGIC 0xdeadbeef
#endif
-static
rwlock_t xfrm6_tunnel_spi_lock = RW_LOCK_UNLOCKED
;
+static
DEFINE_RWLOCK(xfrm6_tunnel_spi_lock)
;
static u32 xfrm6_tunnel_spi;