diff options
Diffstat (limited to 'drivers/net/znet.c')
-rw-r--r-- | drivers/net/znet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/znet.c b/drivers/net/znet.c index a97d894d26fb..bc5ae0f6e934 100644 --- a/drivers/net/znet.c +++ b/drivers/net/znet.c | |||
@@ -697,8 +697,8 @@ static void znet_rx(struct net_device *dev) | |||
697 | the same area of the backwards links we now have. This allows us to | 697 | the same area of the backwards links we now have. This allows us to |
698 | pass packets to the upper layers in the order they were received -- | 698 | pass packets to the upper layers in the order they were received -- |
699 | important for fast-path sequential operations. */ | 699 | important for fast-path sequential operations. */ |
700 | while (znet->rx_start + cur_frame_end_offset != znet->rx_cur | 700 | while (znet->rx_start + cur_frame_end_offset != znet->rx_cur && |
701 | && ++boguscount < 5) { | 701 | ++boguscount < 5) { |
702 | unsigned short hi_cnt, lo_cnt, hi_status, lo_status; | 702 | unsigned short hi_cnt, lo_cnt, hi_status, lo_status; |
703 | int count, status; | 703 | int count, status; |
704 | 704 | ||