Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273207
b: refs/heads/master
c: 291024e
h: refs/heads/master
i:
  273205: 4615189
  273203: c87ad5e
  273199: 62f1ff1
v: v3
  • Loading branch information
Amit Shah authored and Rusty Russell committed Nov 2, 2011
1 parent 4e564e8 commit f2fed80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 286f9a226f11e4a05d08999417fd838c0ca91d7a
refs/heads/master: 291024ef351328e7b4ca6bae798abc816a43653c
7 changes: 7 additions & 0 deletions trunk/drivers/char/virtio_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,13 @@ static void handle_control_message(struct ports_device *portdev,
send_sigio_to_port(port);
break;
case VIRTIO_CONSOLE_PORT_NAME:
/*
* If we woke up after hibernation, we can get this
* again. Skip it in that case.
*/
if (port->name)
break;

/*
* Skip the size of the header and the cpkt to get the size
* of the name that was sent
Expand Down

0 comments on commit f2fed80

Please sign in to comment.