Make witness happy: destroy rte lock before free.
MFC after: 2 weeks
This commit is contained in:
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user