diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2013-12-03 22:02:03 -0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-12-10 13:28:50 +0000 |
commit | 8202aa539135a44906c38f82a469234ec65e0ef7 (patch) | |
tree | 17175bd95b4210a6b10e1a04b04de5086d4cc3c0 /target-arm/translate.c | |
parent | 3ae5725f86a82751cccf6bc075e5ebfb327ac283 (diff) |
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 'target-arm/translate.c')
0 files changed, 0 insertions, 0 deletions