commit | 686d363786a53ed28ee875b84ef24e6d5126ef6f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Jun 10 18:16:11 2010 +0300 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Jun 23 22:49:06 2010 +0930 |
tree | c97b5c5961df1f051e42a59dcb9ee1884d8f3086 | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 [diff] |
virtio: return ENOMEM on out of memory add_buf returns ring size on out of memory, this is not what devices expect. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org # .34.x