diff options
| author | Peter Crosthwaite | 2013-12-04 07:02:03 +0100 |
|---|---|---|
| committer | Peter Maydell | 2013-12-10 14:28:50 +0100 |
| commit | 8202aa539135a44906c38f82a469234ec65e0ef7 (patch) | |
| tree | 17175bd95b4210a6b10e1a04b04de5086d4cc3c0 /include/exec/user | |
| parent | net/cadence_gem: Improve can_receive debug printfery (diff) | |
| download | qemu-8202aa539135a44906c38f82a469234ec65e0ef7.tar.gz qemu-8202aa539135a44906c38f82a469234ec65e0ef7.tar.xz qemu-8202aa539135a44906c38f82a469234ec65e0ef7.zip | |
net/cadence_gem: Don't rx packets when no rx buffer available
Return false from can_receive() when no valid buffer descriptor is
available. Ensures against mass packet droppage in some applications.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: cde00ef774e84e2586bf10fd37b542f75bf36cfb.1386136219.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
