aboutsummaryrefslogtreecommitdiffstats
path: root/net/wimax/stack.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-07-02 12:34:01 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-03 01:27:26 -0400
commit58eba97d0774c69b1cf3e5a8ac74419409d1abbf (patch)
tree985ad7b05c0b4952ff76f83dfab87f18466ebe4f /net/wimax/stack.c
parent1788f49548860fa1c861ee3454d47b466c877e43 (diff)
virtio_net: fix oom handling on tx
virtio net will never try to overflow the TX ring, so the only reason add_buf may fail is out of memory. Thus, we can not stop the device until some request completes - there's no guarantee anything at all is outstanding. Make the error message clearer as well: error here does not indicate queue full. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (...and avoid TX_BUSY) Cc: stable@kernel.org # .34.x (s/virtqueue_/vi->svq->vq_ops->/) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wimax/stack.c')
0 files changed, 0 insertions, 0 deletions