• F
    tap: Drop tap_can_send · a90a7425
    Fam Zheng 提交于
    This callback is called by main loop before polling s->fd, if it returns
    false, the fd will not be polled in this iteration.
    
    This is redundant with checks inside read callback. After this patch,
    the data will be sent to peer when it arrives. If the device can't
    receive, it will be queued to incoming_queue, and when the device status
    changes, this queue will be flushed.
    Signed-off-by: NFam Zheng <famz@redhat.com>
    Message-id: 1433400324-7358-7-git-send-email-famz@redhat.com
    Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
    a90a7425
tap.c 25.0 KB