vmxnet3: Drop net_vmxnet3_info.can_receive
authorFam Zheng <famz@redhat.com>
Wed, 1 Jul 2015 02:26:27 +0000 (10:26 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 21 Oct 2015 15:42:31 +0000 (10:42 -0500)
commit40161bf27b6f0143062f588b496f0a66b6ec769b
tree91cc0d65e21c42849b60b86a3dc8e80e7d3f1b3a
parent2935ae915a618bab5b555b8963224fbeac4a5fa9
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>
(cherry picked from commit 2734a20b8161831ba68c9166014e00522599d1e2)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/net/vmxnet3.c