commit | b6cb6610c27c5b0773a340499f19c3477bf45aeb | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Wed Jul 15 18:19:06 2015 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Mon Jul 27 14:12:18 2015 +0100 |
tree | abf873d632d8e49b3c1e495d7d2465b79f5c7881 | |
parent | 913440249ea2e697177e9d43167ac325a8dfe907 [diff] |
etsec: Move etsec_can_receive into etsec_receive When etsec_reset returns 0, peer would queue the packet as if .can_receive returns false. Drop etsec_can_receive and let etsec_receive carry the semantics. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Jason Wang <jasowang@redhat.com> Message-id: 1436955553-22791-6-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>