Bug #901

route show needs to get data from all cpus

Added by corecode almost 7 years ago. Updated 8 months ago.

Status:FeedbackStart date:
Priority:NormalDue date:
Assignee:tuxillo% Done:

0%

Category:Networking
Target version:3.8.0

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.

History

#1 Updated by dillon almost 7 years ago

:New submission from Simon 'corecode' Schubert <>:
:
: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

#2 Updated by corecode almost 6 years ago

i think this is still confusing. route show needs to cycle all cpus and merge
the routes.

#3 Updated by sepherosa over 5 years ago

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.

#4 Updated by tuxillo 8 months ago

  • Description updated (diff)
  • Category set to Networking
  • Status changed from New to Feedback
  • Target version set to 3.8.0

Hi Sephe,

Not sure but I believe you've done some work related to this, is that possible?

Cheers,
Antonio Huete

#5 Updated by tuxillo 8 months ago

  • Assignee set to tuxillo

Grab.

Also available in: Atom PDF