netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xt_policy: remove dups in .family
@ 2006-09-19  1:06 Alexey Dobriyan
  2006-09-19  8:27 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2006-09-19  1:06 UTC (permalink / raw)
  To: netdev; +Cc: netfilter-devel

sparse "defined twice" warning

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 net/netfilter/xt_policy.c |    2 --
 1 file changed, 2 deletions(-)

--- a/net/netfilter/xt_policy.c
+++ b/net/netfilter/xt_policy.c
@@ -171,7 +171,6 @@ static struct xt_match policy_match = {
 	.match		= match,
 	.matchsize	= sizeof(struct xt_policy_info),
 	.checkentry 	= checkentry,
-	.family		= AF_INET,
 	.me		= THIS_MODULE,
 };
 
@@ -181,7 +180,6 @@ static struct xt_match policy6_match = {
 	.match		= match,
 	.matchsize	= sizeof(struct xt_policy_info),
 	.checkentry	= checkentry,
-	.family		= AF_INET6,
 	.me		= THIS_MODULE,
 };
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] xt_policy: remove dups in .family
  2006-09-19  1:06 [PATCH] xt_policy: remove dups in .family Alexey Dobriyan
@ 2006-09-19  8:27 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2006-09-19  8:27 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: netdev, netfilter-devel

Alexey Dobriyan wrote:
> sparse "defined twice" warning

Thanks, applied with some manual fixup. Please base netfilter patches on
the net-2.6.19 tree.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-19  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-19  1:06 [PATCH] xt_policy: remove dups in .family Alexey Dobriyan
2006-09-19  8:27 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).