The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=c00e2f573b50893e7428aee4b928c95ac27b7e5e
commit c00e2f573b50893e7428aee4b928c95ac27b7e5e Author: Alexander V. Chernikov <[email protected]> AuthorDate: 2021-03-23 23:35:23 +0000 Commit: Alexander V. Chernikov <[email protected]> CommitDate: 2021-03-23 23:35:23 +0000 Fix build for non-vnet non-multipath kernels broken by a0308e48ec12ae37f525aa3c6d3c1a236fb55dcd. --- sys/net/route/route_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/route/route_ctl.c b/sys/net/route/route_ctl.c index d3a35018ae66..92c7db1d5e29 100644 --- a/sys/net/route/route_ctl.c +++ b/sys/net/route/route_ctl.c @@ -148,7 +148,7 @@ destroy_rtentry(struct rtentry *rt) CURVNET_SET(nhop_get_vnet(nh)); /* Unreference nexthop */ - nhop_free_any(rt->rt_nhop); + nhop_free_any(nh); uma_zfree(V_rtzone, rt); _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
