Re: 2.6.11 on AMD64 traps

From: Patrick McHardy
Date: Wed Mar 09 2005 - 15:50:38 EST

Michal Vanco wrote:
On Wednesday 09 March 2005 20:45, Patrick McHardy wrote:

This patch should fix it. The crash is caused by stale pointers,
the pointers in fib_iter_state are not reloaded after seq->stop()
followed by seq->start(pos > 0).

Well. Trap vanished after applying this patch, but another weird thing occurs:

# ip route show | wc -l
# date; time ip route show > /dev/null; date; time netstat -rn > /dev/null
Wed Mar 9 22:15:21 CET 2005

real 0m0.656s
user 0m0.415s
sys 0m0.242s
Wed Mar 9 22:15:22 CET 2005

real 6m41.472s
user 0m1.261s
sys 6m40.143s

Yes, I know it is totally inefficient. Just use ip route, which doesn't
suffer from this problem.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at