[PULL] module fixes (stable)

From: Rusty Russell
Date: Tue Feb 09 2016 - 19:29:28 EST


The following changes since commit 34229b277480f46c1e9a19f027f30b074512e68b:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2016-02-01 15:56:08 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/fixes-for-linus

for you to fetch changes up to 8244062ef1e54502ef55f54cced659913f244c3e:

modules: fix longstanding /proc/kallsyms vs module insertion race. (2016-02-03 16:58:15 +1030)

----------------------------------------------------------------
Fix for async_probe module param added in 4.3 (clearly not widely used yet),
and a much more interesting kallsyms race which has been around approximately
forever. This fix is more invasive, and will require some care in backporting,
but I hated all the bandaids I could think of, so...

There are some more coming, which are only for breakages introduced this
cycle (livepatch), but wanted these in now.

Thanks,
Rusty.

----------------------------------------------------------------
Luis R. Rodriguez (1):
modules: fix modparam async_probe request

Rusty Russell (2):
module: wrapper for symbol name.
modules: fix longstanding /proc/kallsyms vs module insertion race.

include/linux/module.h | 19 ++++----
kernel/module.c | 120 ++++++++++++++++++++++++++++++-------------------
2 files changed, 85 insertions(+), 54 deletions(-)