summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinemml <github@stresser.de>2014-04-25 15:21:45 +0200
committerheinemml <github@stresser.de>2014-04-25 15:21:45 +0200
commit9775591c2a5ac9b233932fbac09496ae15ee440f (patch)
tree014f5949632b6b42df9182608142fc9b90b6997f
parentef9c2bb4420b6913afda216923a8a66e266ab83d (diff)
downloadOpen-AVB-9775591c2a5ac9b233932fbac09496ae15ee440f.tar.gz
continue instead of return
If using only Class B traffic clean up will fail as tx_ring for Class A has nothing to be cleaned up and function returns. So call continue to check on Class B.
-rw-r--r--lib/igb/igb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igb/igb.c b/lib/igb/igb.c
index aa3b03ab..c9f9c55c 100644
--- a/lib/igb/igb.c
+++ b/lib/igb/igb.c
@@ -1023,7 +1023,7 @@ igb_clean(device_t *dev, struct igb_packet **cleaned_packets)
if (txr->tx_avail == adapter->num_tx_desc) {
txr->queue_status = IGB_QUEUE_IDLE;
- return;
+ continue;
}
processed = 0;