]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
routing: always pass rtentry to add_route_flags().
authorAlexander V. Chernikov <melifaro@FreeBSD.org>
Fri, 17 Feb 2023 17:20:38 +0000 (17:20 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Fri, 17 Feb 2023 18:00:37 +0000 (18:00 +0000)
commita0aa160b6d261f67b29a25c7cc5e04668fb6faf7
treefbdc2676fee5439aa9200ea4ab20e5139b311c64
parentcda6bdbaa15e04857e2c0ae7ac06e9dbabac9835
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
sys/net/route/route_ctl.c