mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
Assert the radix head lock in in6_rtqkill().
MFC after: 3 days
This commit is contained in:
parent
63d0295c2f
commit
a714e55f73
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue