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
@ -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 New Issue
Block a user