Commit b4da02f
kpb: Fix crash after a reset
The kpb->host_sink is NULL after a reset or unbind. The host
could send a reset IPC while the draining task is still running,
which results in a crash.
Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>1 parent 7ddf208 commit b4da02f
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | | - | |
1854 | | - | |
1855 | | - | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
1856 | 1862 | | |
1857 | 1863 | | |
1858 | 1864 | | |
| |||
0 commit comments