Skip to content

Commit

Permalink
ibmvnic: Continue skb processing after skb completion error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nathan Fontenot authored and David S. Miller committed May 3, 2017
1 parent 161b8a8 commit ca05e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/ibm/ibmvnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ static int ibmvnic_poll(struct napi_struct *napi, int budget)
/* 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);
Expand Down

0 comments on commit ca05e31

Please sign in to comment.