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

Commit 293603c0 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 108e6616 c998644f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2201,7 +2201,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);