Commit 4f86306b authored by Stefan Bader's avatar Stefan Bader Committed by Kleber Sacilotto de Souza

UBUNTU: SAUCE: RDMA/ucm: Blacklist UCM module

BugLink: https://bugs.launchpad.net/bugs/1790620

commit 7a8690ed upstream
did deprecate the module by making it depend on BROKEN
(config setting).
We cannot simply drop it as part of an SRU. Instead lets
put it into the default blacklist and print a big warning
should someone force load it.
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 642bf952
# LP:1434842 -- disable OSS drivers by default to allow pulseaudio to emulate
blacklist snd-mixer-oss
blacklist snd-pcm-oss
# The Infiniband Connection Manager module was marked broken in 4.4.141
# (LP: #1790620). Instead of that we blacklist by default.
blacklist ib_ucm
......@@ -1348,6 +1348,11 @@ static int __init ib_ucm_init(void)
printk(KERN_ERR "ucm: couldn't register client\n");
goto error3;
}
printk(KERN_ERR "ucm: This module is DEPRECATED and can expose your\n");
printk(KERN_ERR "ucm: system to attacks! Use at your own risk!!!\n");
add_taint(TAINT_FORCED_MODULE, LOCKDEP_STILL_OK);
return 0;
error3:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment