Michal Vanco wrote:
On Wednesday 09 March 2005 21:34, Patrick McHardy wrote:
Yes, I know it is totally inefficient. Just use ip route, which doesn't
suffer from this problem.
Sure. Can (or will) this ever be fixed to any usable state also with
netstat?
Is this problem related only to AMD64?
Maybe. To start dumping entries of an open hashed hash-table at a
specific position we need to skip all entries before that position by
walking over them. This results in quadratic time complexity. It might
be possible to improve this by cacheing the last position in
fib_iter_state even between ->stop() and ->start() calls and using
generation IDs for invalidation.
Regards
Patrick
|