projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf7393
)
[NETFILTER]: xt_policy: remove dups in .family
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 20 Sep 2006 19:02:44 +0000
(12:02 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:56 +0000
(15:19 -0700)
sparse "defined twice" warning
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_policy.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/xt_policy.c
b/net/netfilter/xt_policy.c
index e9d81378d6532f64ec0681b6526c9021c71a9a69..46bde2b1e1e0feec6bfede6622060afe6d4d931a 100644
(file)
--- a/
net/netfilter/xt_policy.c
+++ b/
net/netfilter/xt_policy.c
@@
-171,7
+171,6
@@
static struct xt_match xt_policy_match[] = {
.checkentry = checkentry,
.match = match,
.matchsize = sizeof(struct xt_policy_info),
- .family = AF_INET,
.me = THIS_MODULE,
},
{
@@
-180,7
+179,6
@@
static struct xt_match xt_policy_match[] = {
.checkentry = checkentry,
.match = match,
.matchsize = sizeof(struct xt_policy_info),
- .family = AF_INET6,
.me = THIS_MODULE,
},
};