Enable keyboard for x86
[openwrt.git] / target / linux / x86 / patches-3.2 / 900-8139cp_napi_gro_flush.patch
1 From b189e810619a676e6b931a942a3e8387f3d39c21 Mon Sep 17 00:00:00 2001
2 From: =?utf8?q?fran=C3=A7ois=20romieu?= <romieu@fr.zoreil.com>
3 Date: Sun, 8 Jan 2012 13:41:33 +0000
4 Subject: [PATCH] 8139cp: fix missing napi_gro_flush.
5
6 The driver uses __napi_complete and napi_gro_receive. Without it, the
7 driver hits the BUG_ON(n->gro_list) assertion hard in __napi_complete.
8
9 Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
10 Tested-by: Marin Glibic <zhilla2@gmail.com>
11 Signed-off-by: David S. Miller <davem@davemloft.net>
12 ---
13 drivers/net/ethernet/realtek/8139cp.c | 1 +
14 1 files changed, 1 insertions(+), 0 deletions(-)
15
16 --- a/drivers/net/ethernet/realtek/8139cp.c
17 +++ b/drivers/net/ethernet/realtek/8139cp.c
18 @@ -563,6 +563,7 @@ rx_next:
19 if (cpr16(IntrStatus) & cp_rx_intr_mask)
20 goto rx_status_loop;
21
22 + napi_gro_flush(napi);
23 spin_lock_irqsave(&cp->lock, flags);
24 __napi_complete(napi);
25 cpw16_f(IntrMask, cp_intr_mask);
This page took 0.055081 seconds and 5 git commands to generate.