[SRU][F/hwe-5.8][PATCH 01/18] Revert "UBUNTU: SAUCE: Dump stack when X.509 certificates cannot be loaded"

Dimitri John Ledkov dimitri.ledkov at canonical.com
Mon Sep 27 15:56:55 UTC 2021


This reverts commit 7385cef88294e9876019652131801014729a367f. With
this revert, all cherry-picks from upstream/later releaseas apply
cleanly. And the rebased version of the patch being reverted is
cherrypicked back again.

BugLink: https://bugs.launchpad.net/bugs/1932029
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
---
 certs/system_keyring.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/certs/system_keyring.c b/certs/system_keyring.c
index 7d4c81653b..7982911771 100644
--- a/certs/system_keyring.c
+++ b/certs/system_keyring.c
@@ -171,7 +171,6 @@ static __init int load_system_certificate_list(void)
 		if (IS_ERR(key)) {
 			pr_err("Problem loading in-kernel X.509 certificate (%ld)\n",
 			       PTR_ERR(key));
-			WARN_ON_ONCE(1);
 		} else {
 			pr_notice("Loaded X.509 cert '%s'\n",
 				  key_ref_to_ptr(key)->description);
-- 
2.30.2




More information about the kernel-team mailing list