Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145471
b: refs/heads/master
c: ea30e11
h: refs/heads/master
i:
  145469: de7ab7b
  145467: cae8db1
  145463: e406ef5
  145455: 07363b3
  145439: 9abfd03
  145407: 166de48
v: v3
  • Loading branch information
Neil Horman authored and David S. Miller committed Jun 2, 2009
1 parent 0b8a122 commit f826d57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a9a8e32ebe269c71d8d3e78f9435fe7729f38e9
refs/heads/master: ea30e11970a96cfe5e32c03a29332554573b4a10
5 changes: 3 additions & 2 deletions trunk/drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4027,8 +4027,9 @@ static bool e1000_clean_rx_irq(struct e1000_adapter *adapter,
PCI_DMA_FROMDEVICE);

length = le16_to_cpu(rx_desc->length);

if (unlikely(!(status & E1000_RXD_STAT_EOP))) {
/* !EOP means multiple descriptors were used to store a single
* packet, also make sure the frame isn't just CRC only */
if (unlikely(!(status & E1000_RXD_STAT_EOP) || (length <= 4))) {
/* All receives must fit into a single buffer */
E1000_DBG("%s: Receive packet consumed multiple"
" buffers\n", netdev->name);
Expand Down

0 comments on commit f826d57

Please sign in to comment.