Assert the radix head lock in in6_rtqkill().

MFC after:	3 days
This commit is contained in:
Robert Watson 2009-02-23 22:58:59 +00:00
parent 63d0295c2f
commit a714e55f73

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++;