Преглед изворни кода

ibmvnic: Continue skb processing after skb completion error

There is not a need to stop processing skbs if we encounter a
skb that has a receive completion error.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Nathan Fontenot пре 8 година
родитељ
комит
ca05e31674
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/net/ethernet/ibm/ibmvnic.c

+ 1 - 1
drivers/net/ethernet/ibm/ibmvnic.c

@@ -1404,7 +1404,7 @@ restart_poll:
 			/* free the entry */
 			/* free the entry */
 			next->rx_comp.first = 0;
 			next->rx_comp.first = 0;
 			remove_buff_from_pool(adapter, rx_buff);
 			remove_buff_from_pool(adapter, rx_buff);
-			break;
+			continue;
 		}
 		}
 
 
 		length = be32_to_cpu(next->rx_comp.len);
 		length = be32_to_cpu(next->rx_comp.len);