diff options
| author | Fam Zheng | 2015-06-04 08:45:14 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2015-06-12 14:26:21 +0200 |
| commit | 95b1416ae93106923f733941e52dfe55c4318643 (patch) | |
| tree | 364564c96b9eca65d178c7ccd06822c7e4b441d2 /linux-headers | |
| parent | stubs: Add qemu_set_fd_handler (diff) | |
| download | qemu-95b1416ae93106923f733941e52dfe55c4318643.tar.gz qemu-95b1416ae93106923f733941e52dfe55c4318643.tar.xz qemu-95b1416ae93106923f733941e52dfe55c4318643.zip | |
l2tpv3: Drop l2tpv3_can_send
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 copied from s->fd to s->msgvec 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: Fam Zheng <famz@redhat.com>
Message-id: 1433400324-7358-4-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions
