git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NETFILTER]: Use non-deprecated __RW_LOCK_UNLOCKED macro
[safe/jmp/linux-2.6]
/
net
/
ipv6
/
netfilter
/
ip6table_mangle.c
diff --git
a/net/ipv6/netfilter/ip6table_mangle.c
b/net/ipv6/netfilter/ip6table_mangle.c
index
035343a
..
27a5e8b
100644
(file)
--- a/
net/ipv6/netfilter/ip6table_mangle.c
+++ b/
net/ipv6/netfilter/ip6table_mangle.c
@@
-60,7
+60,7
@@
static struct
static struct xt_table packet_mangler = {
.name = "mangle",
.valid_hooks = MANGLE_VALID_HOOKS,
- .lock =
RW_LOCK_UNLOCKED
,
+ .lock =
__RW_LOCK_UNLOCKED(packet_mangler.lock)
,
.me = THIS_MODULE,
.af = AF_INET6,
};