This is not a new problem, but I never bothered to report it before:
| ip6_tables.c: In function `tcp_match':
| ip6_tables.c:1596: warning: implicit declaration of function `ipv6_skip_exthdr'
It needs to include <net/ipv6.h> to kill the warning.
Sorry, no patch, since my development machine is offline.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
In article [off-list ref] (at Thu, 17 Jun 2004 12:06:17 +0200 (MEST)), Geert Uytterhoeven [off-list ref] says:
This is not a new problem, but I never bothered to report it before:
| ip6_tables.c: In function `tcp_match':
| ip6_tables.c:1596: warning: implicit declaration of function `ipv6_skip_exthdr'
It needs to include <net/ipv6.h> to kill the warning.
Here it is.
===== net/ipv6/netfilter/ip6_tables.c 1.17 vs edited =====
And this is a new one (compared to -pre3):
| igmp.c: In function `igmpv3_newpack':
| igmp.c:279: warning: `skb' might be used uninitialized in this function
And it seems to be a real bug, not a compiler glitch:
| static struct sk_buff *igmpv3_newpack(struct net_device *dev, int size)
| {
| struct sk_buff *skb;
^^^
| struct rtable *rt;
| struct iphdr *pip;
| struct igmpv3_report *pig;
| u32 dst;
|
| dst = IGMPV3_ALL_MCR;
| if (ip_route_output(&rt, dst, 0, 0, dev->ifindex))
| return 0;
| if (rt->rt_src == 0) {
| kfree_skb(skb);
^^^
| ip_rt_put(rt);
| return 0;
| }
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds