HomeFreeBSD

routing: always pass rtentry to add_route_flags().

Description

routing: always pass rtentry to add_route_flags().

add_route_flags() uses rt prefix data to lookup the the current
rtentry from the routing table. Update rib_add_route_px() to
always pass rtentry regardless of the op_flags.

Reported by: Stefan Grundmann <sg2342@googlemail.com>
MFC after: 1 day

Details

Provenance
melifaroAuthored on Feb 17 2023, 5:20 PM
Parents
rGcda6bdbaa15e: tcp: Don't try to disconnect a socket multiple times.
Branches
Unknown
Tags
Unknown