commit | 84ec06c59a14d0941dd58ca6793b24a7e86b3b85 | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Thu Sep 02 18:11:42 2010 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Oct 21 17:44:00 2010 +1030 |
tree | d026b868f47f335e70ddb13575393de125dcd3be | |
parent | 96eb872b2a041b1536ccc6ae2fa87eb28f6e2bb2 [diff] |
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 <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>