Commit b189e810 authored by françois romieu's avatar françois romieu Committed by David S. Miller
Browse files

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: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Tested-by: default avatarMarin Glibic <zhilla2@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26e29eed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);