summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRonald Tschalär <ronald@innovation.ch>2018-09-30 19:53:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-25 15:54:46 +0100
commit682e2ea0ca94e4cd8d244fd6c276ab3f6d9c51ab (patch)
tree259cec41b0539585ff08eb35107ba4a77051cee0 /net/unix/af_unix.c
parentb88fa52436cf15db28e65b75e9ed6fc5a4d9b0ab (diff)
ACPI / SBS: Fix rare oops when removing modules
[ Upstream commit 757c968c442397f1249bb775a7c8c03842e3e0c7 ] There was a small race when removing the sbshc module where smbus_alarm() had queued acpi_smbus_callback() for deferred execution but it hadn't been run yet, so that when it did run hc had been freed and the module unloaded, resulting in an invalid paging request. A similar race existed when removing the sbs module with regards to acpi_sbs_callback() (which is called from acpi_smbus_callback()). We therefore need to ensure no callbacks are pending or executing before the cleanups are done and the modules are removed. Signed-off-by: Ronald Tschalär <ronald@innovation.ch> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions