Fix build for non-vnet non-multipath kernels broken by

a0308e48ec.
This commit is contained in:
Alexander V. Chernikov 2021-03-23 23:35:23 +00:00
parent a0308e48ec
commit c00e2f573b

View File

@ -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);