mirror of
https://github.com/opnsense/src.git
synced 2026-03-12 05:32:15 -04:00
Unlock rtentry before calling for epoch(9) destruction as the destruction
may happen immediately, leading to panic. Reported by: bdragon
This commit is contained in:
parent
9a47dfc308
commit
cb86ca48bf
1 changed files with 1 additions and 1 deletions
|
|
@ -411,9 +411,9 @@ rtfree(struct rtentry *rt)
|
|||
|
||||
RT_LOCK_ASSERT(rt);
|
||||
|
||||
RT_UNLOCK(rt);
|
||||
epoch_call(net_epoch_preempt, destroy_rtentry_epoch,
|
||||
&rt->rt_epoch_ctx);
|
||||
RT_UNLOCK(rt);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue