Page MenuHomeFreeBSD

Fix failure to add an interface prefix route when route with the same prefix is already presented in the routing table.
ClosedPublic

Authored by melifaro on Tue, Nov 12, 9:41 PM.
Tags
None
Referenced Files
F102555122: D47534.diff
Thu, Nov 14, 12:12 AM
Unknown Object (File)
Wed, Nov 13, 4:45 AM
Unknown Object (File)
Tue, Nov 12, 11:54 PM
Unknown Object (File)
Tue, Nov 12, 9:48 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

The reported test passes successfully:

# route add -net 192.0.2.0/24 -interface vtnet0
add net 192.0.2.0: gateway vtnet0
# ifconfig epair create
epair0a
# ifconfig epair0a inet 192.0.2.1/24
# route show 192.0.2.0/24
   route to: 192.0.2.0
destination: 192.0.2.0
       mask: 255.255.255.0
        fib: 0
  interface: epair0a
      flags: <UP,DONE,PINNED>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
       0         0         0         0      1500         1         0

Thank you!

This revision is now accepted and ready to land.Wed, Nov 13, 7:50 AM