diff options
| author | Masami Hiramatsu <[email protected]> | 2020-08-29 13:02:47 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-09-08 09:52:35 +0000 |
| commit | b338817807538c893540e393856b79cbbdf777ea (patch) | |
| tree | bf4dadbf3fc3746a7028c415f2baf40032c95e99 /net/switchdev/switchdev.c | |
| parent | kprobes: Remove NMI context check (diff) | |
| download | kernel-b338817807538c893540e393856b79cbbdf777ea.tar.gz kernel-b338817807538c893540e393856b79cbbdf777ea.zip | |
kprobes: Free kretprobe_instance with RCU callback
Free kretprobe_instance with RCU callback instead of directly
freeing the object in the kretprobe handler context.
This will make kretprobe run safer in NMI context.
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/159870616685.1229682.11978742048709542226.stgit@devnote2
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
