vmxnet3: Drop net_vmxnet3_info.can_receive
commit2734a20b8161831ba68c9166014e00522599d1e2
authorFam Zheng <famz@redhat.com>
Wed, 1 Jul 2015 02:26:27 +0000 (1 10:26 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 2 Sep 2015 13:50:25 +0000 (2 14:50 +0100)
treeb7a9c0b0ee857451c416d9e0467b55639417842c
parent26c4e7ca72d970d120f0f51244bc8d37458512a0
vmxnet3: Drop net_vmxnet3_info.can_receive

Commit 6e99c63 ("net/socket: Drop net_socket_can_send") changed the
semantics around .can_receive for sockets to now require the device to
flush queued pkts when transitioning to a .can_receive=true state. But
it's OK to drop incoming packets when the link is not active.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/vmxnet3.c