[PATCH] Fix r8169: panic on 2.6.11
Stephen Hemminger <shemminger@osdl.org> : [...] > > + u32 eor = le32_to_cpu(desc->opts1) & ~RingEnd; ^ Oops. Updated patch against plain 2.6.11 below (NAPI is strongly suggested, no need to disable rx_copybreak). The patch has been tested on a 100Mbps ethernet but it does not want to crash. I'll hack the testbed and see tomorrow how things behave on Gb. The status and received packets indication in the Rx descriptor ring are not correctly reset when a descriptor is recycled. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Showing
Please register or sign in to comment