diff options
author | Amit Shah <amit.shah@redhat.com> | 2009-08-26 13:28:28 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 04:29:21 +0400 |
commit | 0aea51c37fc5868cd723f670af9056c2ef694fee (patch) | |
tree | 9fee50abd200decd4b02350e4f1aed0cccc3a976 /net/ax25/af_ax25.c | |
parent | 48925e372f04f5e35fec6269127c62b2c71ab794 (diff) | |
download | linux-0aea51c37fc5868cd723f670af9056c2ef694fee.tar.xz |
virtio_net: Check for room in the vq before adding buffer
Saves us one cycle of alloc-add-free if the queue was full.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (modified)
Diffstat (limited to 'net/ax25/af_ax25.c')
0 files changed, 0 insertions, 0 deletions