Assert the radix head lock in in6_rtqkill().

MFC after:	3 days
This commit is contained in:
rwatson 2009-02-23 22:58:59 +00:00
parent 73b78f4e11
commit 52c114d8ab

View File

@ -244,6 +244,8 @@ in6_rtqkill(struct radix_node *rn, void *rock)
struct rtentry *rt = (struct rtentry *)rn;
int err;
RADIX_NODE_HEAD_WLOCK_ASSERT(ap->rnh);
if (rt->rt_flags & RTPRF_OURS) {
ap->found++;