From: françois romieu
Date: Sun Jan 8 13:41:33 2012 +0000
Subject: 8139cp: fix missing napi_gro_flush
References: bnc#731590
Patch-mainline: 3.3-rc1
Git-commit: b189e810619a676e6b931a942a3e8387f3d39c21
8139cp: fix missing napi_gro_flush
The driver uses __napi_complete and napi_gro_receive. Without it, the
driver hits the BUG_ON(n->gro_list) assertion hard in __napi_complete.
Signed-off-by: Francois Romieu
Tested-by: Marin Glibic
Signed-off-by: David S. Miller
Signed-off-by: Michal Kubecek
---
drivers/net/8139cp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c
index cc4c210..b325560 100644
--- a/drivers/net/8139cp.c
+++ b/drivers/net/8139cp.c
@@ -563,6 +563,7 @@ rx_next:
if (cpr16(IntrStatus) & cp_rx_intr_mask)
goto rx_status_loop;
+ napi_gro_flush(napi);
spin_lock_irqsave(&cp->lock, flags);
__napi_complete(napi);
cpw16_f(IntrMask, cp_intr_mask);
--
1.7.7
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org