patch-2.0.34 linux/net/ipv4/route.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/net/ipv4/raw.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jun 3 15:17:50 1998
- Orig file:
v2.0.33/linux/net/ipv4/route.c
- Orig date:
Tue Mar 10 13:19:09 1998
diff -u --recursive --new-file v2.0.33/linux/net/ipv4/route.c linux/net/ipv4/route.c
@@ -905,7 +905,7 @@
restore_flags(flags);
if (hh && atomic_dec_and_test(&hh->hh_refcnt))
kfree_s(hh, sizeof(struct hh_cache));
- kfree_s(rt, sizeof(struct rt_table));
+ kfree_s(rt, sizeof(struct rtable));
return;
}
rt->rt_next = rt_free_queue;
@@ -943,7 +943,7 @@
sti();
if (hh && atomic_dec_and_test(&hh->hh_refcnt))
kfree_s(hh, sizeof(struct hh_cache));
- kfree_s(rt, sizeof(struct rt_table));
+ kfree_s(rt, sizeof(struct rtable));
#if RT_CACHE_DEBUG >= 2
printk("rt_kick_free_queue: %08x is free\n", daddr);
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov