net: add return value to packet receive handler
commit4f1c942b7fb29864ad86cb3af9076da38f38f74e
authorMark McLoughlin <markmc@redhat.com>
Mon, 18 May 2009 12:40:55 +0000 (18 13:40 +0100)
committerMark McLoughlin <markmc@redhat.com>
Tue, 9 Jun 2009 10:38:49 +0000 (9 11:38 +0100)
tree2f51a121e715476c3986c0ae0b4513be555d8ee8
parente3f5ec2b5e92706e3b807059f79b1fb5d936e567
net: add return value to packet receive handler

This allows us to handle queue full conditions rather than dropping
the packet on the floor.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
18 files changed:
hw/dp8393x.c
hw/e1000.c
hw/eepro100.c
hw/etraxfs_eth.c
hw/mcf_fec.c
hw/mipsnet.c
hw/musicpal.c
hw/ne2000.c
hw/pcnet.c
hw/rtl8139.c
hw/smc91c111.c
hw/stellaris_enet.c
hw/usb-net.c
hw/virtio-net.c
hw/xen_nic.c
net.c
net.h
tap-win32.c