patch-2.0.6 linux/net/ipv4/ip_sockglue.c
Next file: linux/net/ipv4/tcp_output.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Jul 11 08:54:18 1996
- Orig file:
v2.0.5/linux/net/ipv4/ip_sockglue.c
- Orig date:
Wed Jul 10 15:20:28 1996
diff -u --recursive --new-file v2.0.5/linux/net/ipv4/ip_sockglue.c linux/net/ipv4/ip_sockglue.c
@@ -295,8 +295,8 @@
*/
if((rt=ip_rt_route(mreq.imr_multiaddr.s_addr,0))!=NULL)
{
- dev=rt->u.dst.dev;
- atomic_dec(&rt->u.dst.use);
+ dev=rt->rt_dev;
+ atomic_dec(&rt->rt_use);
ip_rt_put(rt);
}
}
@@ -347,8 +347,8 @@
{
if((rt=ip_rt_route(mreq.imr_multiaddr.s_addr,0))!=NULL)
{
- dev=rt->u.dst.dev;
- atomic_dec(&rt->u.dst.use);
+ dev=rt->rt_dev;
+ atomic_dec(&rt->rt_use);
ip_rt_put(rt);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov