mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
ip_mroute: release epoch lock if mrouter is not configured
Add mising "else" branch to release a lock if mrouter is not configured. Obtained from: Semihalf Sponsored by: Stormshield
This commit is contained in:
parent
fa66950534
commit
889c60500d
1 changed files with 2 additions and 0 deletions
|
|
@ -890,6 +890,8 @@ rip_detach(struct socket *so)
|
|||
MROUTER_RLOCK();
|
||||
if (so == V_ip_mrouter && ip_mrouter_done)
|
||||
ip_mrouter_done(MROUTER_RLOCK_PARAM_PTR);
|
||||
else
|
||||
MROUTER_RUNLOCK();
|
||||
|
||||
INP_WLOCK(inp);
|
||||
INP_HASH_WLOCK(&V_ripcbinfo);
|
||||
|
|
|
|||
Loading…
Reference in a new issue