1.3.37: /proc/net/route problems

Raj Mathur (raju@gratis.xgroup.ernet.in)
Fri, 10 Nov 95 01:20 IST(+0530)


Hi,

Whenever there are more than (approximately) 10 entries in the kernel
routing table, "cat /proc/net/route" just returns the first 10. I've
noticed this problem since upgrading from 1.2.13: no problems there.
The problem is present in 1.3.35 and 1.3.37 (the two 1.3.x kernels
I've tried so far). Fewer than 10 entries display just fine.

Internally the kernel routing tables are just fine, as can be seen by
putting debugging printk's in route.c (or by trying to access the
"missing" networks). Has anyone else seen this problem? Or knows of a
fix?

System:
486DX2/66
16 Mb RAM
Linux 1.3.37 a.out (.config file available on request)
Compiled with GCC 2.6.3
Gated 3.5Alpha11

-- Raju

-- 
 Raj Mathur           The X Group           New Delhi           India
  PGP: Fingerprint: F2 D4 4A 21 27 B0 63 FF  15 97 9D AE 9D 40 BC B8
                 2.6.i Key: finger raju@arbornet.org
                      It is the mind that moves.