Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5558f766 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: dci: Add protection while querying event status"

parents 8959331a 91199ae7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2368,7 +2368,9 @@ long diagchar_ioctl(struct file *filp,
		mutex_unlock(&driver->dci_mutex);
		break;
	case DIAG_IOCTL_DCI_EVENT_STATUS:
		mutex_lock(&driver->dci_mutex);
		result = diag_ioctl_dci_event_status(ioarg);
		mutex_unlock(&driver->dci_mutex);
		break;
	case DIAG_IOCTL_DCI_CLEAR_LOGS:
		mutex_lock(&driver->dci_mutex);