From: Amit Shah Date: Thu, 27 May 2010 07:54:40 +0000 (+0530) Subject: virtio: console: Fix crash when port is unplugged and blocked for write X-Git-Tag: v2.6.35-rc2~48^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e5e0b84045ce0f6ab07a02c7fcd6627b53d2d3;p=pandora-kernel.git virtio: console: Fix crash when port is unplugged and blocked for write When a program that has a virtio port opened and blocked for a write operation, a port hot-unplug event will later led to a crash when SIGTERM was sent to the program. Fix that. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed