kernel-netlink: Unlock mutex in del_policy() if mark can't be added to message
This commit is contained in:
parent
36bc52b441
commit
1ce32c9cdc
|
@ -2562,6 +2562,7 @@ METHOD(kernel_ipsec_t, del_policy, status_t,
|
|||
|
||||
if (!add_mark(hdr, sizeof(request), mark))
|
||||
{
|
||||
this->mutex->unlock(this->mutex);
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue