summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorMukesh Ojha <quic_mojha@quicinc.com>2023-11-17 17:49:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-13 19:42:21 +0300
commit49d11d329a92f348d3e6bcac9ebfe05d785f1bb1 (patch)
tree33692223db46a971a131d6bdc92114bf90ba7af9 /scripts/stackusage
parent7c452e5f9fbfcb710c6154d54d70688b4dc63431 (diff)
downloadlinux-49d11d329a92f348d3e6bcac9ebfe05d785f1bb1.tar.xz
devcoredump: Send uevent once devcd is ready
[ Upstream commit af54d778a03853801d681c98c0c2a6c316ef9ca7 ] dev_coredumpm() creates a devcoredump device and adds it to the core kernel framework which eventually end up sending uevent to the user space and later creates a symbolic link to the failed device. An application running in userspace may be interested in this symbolic link to get the name of the failed device. In a issue scenario, once uevent sent to the user space it start reading '/sys/class/devcoredump/devcdX/failing_device' to get the actual name of the device which might not been created and it is in its path of creation. To fix this, suppress sending uevent till the failing device symbolic link gets created and send uevent once symbolic link is created successfully. Fixes: 833c95456a70 ("device coredump: add new device coredump class") Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/1700232572-25823-1-git-send-email-quic_mojha@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions