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