diff options
author | heinemml <github@stresser.de> | 2014-04-25 15:21:45 +0200 |
---|---|---|
committer | heinemml <github@stresser.de> | 2014-04-25 15:21:45 +0200 |
commit | 9775591c2a5ac9b233932fbac09496ae15ee440f (patch) | |
tree | 014f5949632b6b42df9182608142fc9b90b6997f | |
parent | ef9c2bb4420b6913afda216923a8a66e266ab83d (diff) | |
download | Open-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.c | 2 |
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; |