Assert the radix head lock in in6_rtqkill().
MFC after: 3 days
This commit is contained in:
parent
73b78f4e11
commit
52c114d8ab
@ -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++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user