* [PATCH] xtables-addons: Missing reference operator in xt_ECHO.c (for Jan Engelhardt)
@ 2008-09-19 20:28 Jiri Moravec
2008-09-19 23:04 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Moravec @ 2008-09-19 20:28 UTC (permalink / raw)
To: netfilter-devel
Jan,
when you prepared commit ab27472eb44b0690f74d542ddb9a972460eceb9a, you probably overlooked some piece of code, because my gcc objects:
"2.6.26.5-t4/net/netfilter/xtables-addons/xt_ECHO.c:90: warning: passing argument 1 of ‘xtnu_ip_route_me_harder’ from incompatible pointer type"
diff -Nupr old/extensions/xt_ECHO.c new/extensions/xt_ECHO.c
--- old/extensions/xt_ECHO.c 2008-09-19 19:04:37.000000000 +0200
+++ new/extensions/xt_ECHO.c 2008-09-19 19:05:00.000000000 +0200
@@ -87,7 +87,7 @@ static unsigned int echo_tg4(struct sk_b
dst_hold(oldskb->dst);
newskb->dst = oldskb->dst;
- if (ip_route_me_harder(newskb, addr_type) < 0)
+ if (ip_route_me_harder(&newskb, addr_type) < 0)
goto free_nskb;
newip->ttl = dst_metric(newskb->dst, RTAX_HOPLIMIT);
--
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-19 23:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-19 20:28 [PATCH] xtables-addons: Missing reference operator in xt_ECHO.c (for Jan Engelhardt) Jiri Moravec
2008-09-19 23:04 ` Jan Engelhardt
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.