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

Commit c32c1635 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: fix to off-by-one read issue"

parents d5c17f3f 584865f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6194,7 +6194,7 @@ int ipa3_is_vlan_mode(enum ipa_vlan_ifaces iface, bool *res)
		return -EINVAL;
	}

	if (iface < 0 || iface > IPA_VLAN_IF_MAX) {
	if (iface < 0 || iface >= IPA_VLAN_IF_MAX) {
		IPAERR("invalid iface %d\n", iface);
		return -EINVAL;
	}