Make witness happy: destroy rte lock before free.

MFC after:	2 weeks
This commit is contained in:
Alexander V. Chernikov 2014-11-16 14:56:31 +00:00
parent dad6df6124
commit 3cb04899de

@ -517,6 +517,7 @@ rtfree(struct rtentry *rt)
/*
* and the rtentry itself of course
*/
RT_LOCK_DESTROY(rt);
uma_zfree(V_rtzone, rt);
return;
}