Commit b302d5a
uprobes: don't abuse get_utask() in pre_ssout() and prepare_uretprobe()
handle_swbp() calls get_utask() before prepare_uretprobe() or pre_ssout()
can be called, they can simply use current->utask which can't be NULL.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent d3fe6f0 commit b302d5a
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1905 | 1905 | | |
1906 | 1906 | | |
1907 | 1907 | | |
1908 | | - | |
1909 | | - | |
| 1908 | + | |
1910 | 1909 | | |
| 1910 | + | |
1911 | 1911 | | |
1912 | 1912 | | |
1913 | 1913 | | |
1914 | 1914 | | |
1915 | 1915 | | |
1916 | | - | |
1917 | | - | |
1918 | | - | |
1919 | | - | |
1920 | 1916 | | |
1921 | 1917 | | |
1922 | 1918 | | |
| |||
1977 | 1973 | | |
1978 | 1974 | | |
1979 | 1975 | | |
1980 | | - | |
| 1976 | + | |
1981 | 1977 | | |
1982 | 1978 | | |
1983 | 1979 | | |
1984 | | - | |
1985 | | - | |
1986 | | - | |
1987 | | - | |
1988 | 1980 | | |
1989 | 1981 | | |
1990 | 1982 | | |
| |||
0 commit comments