* [PATCH] ROUTE target missing targetsize initialization
@ 2006-07-21 20:19 Phil Oester
2006-07-22 13:39 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Phil Oester @ 2006-07-21 20:19 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 68 bytes --]
Targetsize field needs to be initialized.
Closes bug #490.
Phil
[-- Attachment #2: patch-ROUTE --]
[-- Type: text/plain, Size: 811 bytes --]
--- linux-diags/net/ipv4/netfilter/ipt_ROUTE.c 2006-07-21 16:12:59.000000000 -0400
+++ linux-po/net/ipv4/netfilter/ipt_ROUTE.c 2006-07-21 16:04:51.000000000 -0400
@@ -436,6 +436,7 @@
static struct ipt_target ipt_route_reg = {
.name = "ROUTE",
.target = ipt_route_target,
+ .targetsize = sizeof(struct ipt_route_target_info),
.checkentry = ipt_route_checkentry,
.me = THIS_MODULE,
};
--- linux-diags/net/ipv6/netfilter/ip6t_ROUTE.c 2006-07-21 16:12:59.000000000 -0400
+++ linux-po/net/ipv6/netfilter/ip6t_ROUTE.c 2006-07-21 16:05:45.000000000 -0400
@@ -283,6 +283,7 @@
static struct ip6t_target ip6t_route_reg = {
.name = "ROUTE",
.target = ip6t_route_target,
+ .targetsize = sizeof(struct ip6t_route_target_info),
.checkentry = ip6t_route_checkentry,
.me = THIS_MODULE
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-22 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-21 20:19 [PATCH] ROUTE target missing targetsize initialization Phil Oester
2006-07-22 13:39 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.