[3657] in linux-net channel archive
kernel-2.05: Won't compile if CONFIG_IP_MULTICAST set
daemon@ATHENA.MIT.EDU (Horst von Brand)
Sat Jul 13 00:46:36 1996
To: net-patches@lxorguk.ukuu.org.uk, linux-net@vger.rutgers.edu
Date: Fri, 12 Jul 1996 01:33:16 -0400
From: Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
The compilation crashes near line 299 of linux/net/ipv4/ip_sockglue.c, =
which
was patched by:
@@ -295,9 +295,8 @@
*/
if((rt=3Dip_rt_route(mreq.imr_multiaddr.s_addr,0))!$
{
- dev=3Drt->rt_dev;
-
route_src =3D rt->rt_src;
- atomic_dec(&rt->rt_use);
+ dev=3Drt->u.dst.dev;
+ atomic_dec(&rt->u.dst.use);
ip_rt_put(rt);
}
} =20
Here rt is declared 'struct rtable *rt', and struct rtable (defined in
linux/include/net/route.h) does _not_ have any member u. It seems this=
was
supposed to be overhauled, but was only half done? Anyway, if not usin=
g
IP_MULTICAST, the kernel works fine (as far as I can see :)
---------
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vi=F1a del Mar, Chile +56 32 672616