Bug #901
open
route show needs to get data from all cpus
Added by corecode almost 17 years ago.
Updated over 3 years ago.
Description
when executing `route show' on my MP system, I will get varying results.
Additionally, it will print all temporary route entries as well, even for hosts
outside the local network.
:New submission from Simon 'corecode' Schubert <corecode@fs.ei.tum.de>:
:
:when executing `route show' on my MP system, I will get varying results.=20
:Additionally, it will print all temporary route entries as well, even for h=
:osts
:outside the local network.
Its because its dumping the route table for a particular cpu (whichever
one it happens to be running on). Any fixed routes should always show
the same, but temporary routes are not replicated (if I remember properly)
because this allows the TCP stack, which is cpu-localized based on IP
addresses, to cache routes locally and not bloat the route table for
every cpu.
So, if you see different static routes there's a problem, but if you see
different temporary routes it should be ok.
-Matt
i think this is still confusing. route show needs to cycle all cpus and merge
the routes.
grab. The plan is:
If -c is not specified, then we merge the per-cpu routing entries.
If -c is supplied, current behaviour will be kept.
- Description updated (diff)
- Category set to Networking
- Status changed from New to Feedback
- Target version set to 3.8
Hi Sephe,
Not sure but I believe you've done some work related to this, is that possible?
Cheers,
Antonio Huete
- Target version changed from 3.8 to 6.0
Also available in: Atom
PDF