projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
ipv4
/
netfilter
/
iptable_raw.c
diff --git
a/net/ipv4/netfilter/iptable_raw.c
b/net/ipv4/netfilter/iptable_raw.c
index 4b689742d58b105e5dc0244c42869aa5ac1f7c73..fddce7754b7250d5f3087840f31f1aa27748a9a1 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,
};