diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-03-12 02:23:41 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-13 06:25:41 +0100 |
commit | 8051a2a518fcf3827a143470083ad6008697ff17 (patch) | |
tree | b4175841d94bc9b3aef2e92a46e708e9856eea0e /drivers/rpmsg | |
parent | virtio-balloon: do not call blocking ops when !TASK_RUNNING (diff) | |
download | linux-8051a2a518fcf3827a143470083ad6008697ff17.tar.xz linux-8051a2a518fcf3827a143470083ad6008697ff17.zip |
9p/trans_virtio: fix hot-unplug
On device hot-unplug, 9p/virtio currently will kfree channel while
it might still be in use.
Of course, it might stay used forever, so it's an extremely ugly hack,
but it seems better than use-after-free that we have now.
[ Unused variable removed, whitespace cleanup, msg single-lined --RR ]
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions