git.openpandora.org
/
pandora-kernel.git
/ 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
[pandora-kernel.git]
/
net
/
ipv4
/
netfilter
/
iptable_raw.c
diff --git
a/net/ipv4/netfilter/iptable_raw.c
b/net/ipv4/netfilter/iptable_raw.c
index
4b68974
..
fddce77
100644
(file)
--- a/
net/ipv4/netfilter/iptable_raw.c
+++ b/
net/ipv4/netfilter/iptable_raw.c
@@
-39,7
+39,7
@@
static struct
static struct xt_table packet_raw = {
.name = "raw",
.valid_hooks = RAW_VALID_HOOKS,
- .lock =
RW_LOCK_UNLOCKED
,
+ .lock =
__RW_LOCK_UNLOCKED(packet_raw.lock)
,
.me = THIS_MODULE,
.af = AF_INET,
};