patch 2.0.5 breaks compilation of ip_sockglue.c

Michael Stiller (michael@toyland.ping.de)
Wed, 10 Jul 1996 23:03:42 +0200


Hi Linus, hi all,

the new 2.0.5 patch contains a patch to ip_sockglue.c which causes the compiler
to barf.
The offending lines are:
- dev=rt->rt_dev;
- route_src = rt->rt_src;
- atomic_dec(&rt->rt_use);
+ dev=rt->u.dst.dev;
+ atomic_dec(&rt->u.dst.use);
and
- dev=rt->rt_dev;
- atomic_dec(&rt->rt_use);
- route_src = rt->rt_src;
+ dev=rt->u.dst.dev;
+ atomic_dec(&rt->u.dst.use);
---------
The compiler error message is something like:structure has no such member 'u'
I don't remember exactly, it happend on net- and mailless machine.

regards,

-Michael

-- 
x(f,s,c)char *s;{return f&1 ? *s ? *s-c ? x(f,++s,c) :7[s]:0:f&2 
? x(--f,"!/*,xq-ih9]c$=le&M t)r\nm@p31n%ag.8}Sdoy",c):f&4 ? *s ? 
x(f,s+1,putchar(x(f-2,"^&%!*)",*s))) : 0 : 0;}main(){return x(4,
"]!x/mhicn$!iihle&!x/mhiM$agimr%p !r@p%he&!x/mhiM !r@p%he",65);}