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

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

Merge "msm: ipa3: Release the IPA lock acquired"

parents acc44852 15fa29bd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1406,6 +1406,7 @@ int ipa2_reset_rt(enum ipa_ip_type ip, bool user_only)
					hdr_entry->cookie != IPA_HDR_COOKIE) {
						IPAERR_RL(
						"Header already deleted\n");
						mutex_unlock(&ipa_ctx->lock);
						return -EINVAL;
					}
				} else if (rule->proc_ctx) {
@@ -1417,6 +1418,7 @@ int ipa2_reset_rt(enum ipa_ip_type ip, bool user_only)
						IPA_PROC_HDR_COOKIE) {
					IPAERR_RL(
						"Proc entry already deleted\n");
						mutex_unlock(&ipa_ctx->lock);
						return -EINVAL;
					}
				}
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1549,6 +1549,7 @@ int ipa3_reset_rt(enum ipa_ip_type ip, bool user_only)
					hdr_entry->cookie != IPA_HDR_COOKIE) {
						IPAERR_RL(
						"Header already deleted\n");
						mutex_unlock(&ipa3_ctx->lock);
						return -EINVAL;
					}
				} else if (rule->proc_ctx) {
@@ -1560,6 +1561,7 @@ int ipa3_reset_rt(enum ipa_ip_type ip, bool user_only)
							IPA_PROC_HDR_COOKIE) {
						IPAERR_RL(
						"Proc entry already deleted\n");
						mutex_unlock(&ipa3_ctx->lock);
						return -EINVAL;
					}
				}