ibmvnic: Continue skb processing after skb completion error
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 3 May 2017 18:05:14 +0000 (14:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2017 15:33:05 +0000 (11:33 -0400)
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>
drivers/net/ethernet/ibm/ibmvnic.c

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