Page MenuHomeFreeBSD

filter the duplicated route add
Needs ReviewPublic

Authored by steven_chen3_dell.com on Sep 12 2023, 11:56 AM.
Tags
None
Referenced Files
F108182560: D41824.diff
Wed, Jan 22, 8:28 AM
Unknown Object (File)
Sat, Jan 11, 12:02 AM
Unknown Object (File)
Nov 28 2024, 9:35 AM
Unknown Object (File)
Nov 10 2024, 12:56 PM
Unknown Object (File)
Nov 7 2024, 5:04 AM
Unknown Object (File)
Nov 2 2024, 7:31 AM
Unknown Object (File)
Oct 25 2024, 11:10 PM
Unknown Object (File)
Oct 4 2024, 4:17 PM

Details

Reviewers
melifaro
Group Reviewers
network
Summary

If duplicate adding route table, the route nhop entry is set to multipath entry.
I think that is not a good idea, and it's better to add route as single path if the route hasn't more than one real path.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

@steven_chen3_dell.com

I'm not getting you the 'duplicate adding route table'.

What is the behavior you expect?

@zlei
There are two same default route tables in my system , and both default route tables only have "Flags" difference(one is UG, another is UGS).
The kernel self cannot guarantee that routes will not be added repeatedly, maybe dhcp client or other user application add the same route entry.