From: Amit Shah Date: Thu, 2 Sep 2010 12:41:42 +0000 (+0530) Subject: virtio: console: Check if portdev is valid in send_control_msg() X-Git-Tag: v2.6.37-rc1~219^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ec06c59a14d0941dd58ca6793b24a7e86b3b85;p=pandora-kernel.git virtio: console: Check if portdev is valid in send_control_msg() A portdev may have been hot-unplugged while a port was open()ed. Skip sending control messages when the portdev isn't valid. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed