[realtek] Packages 4 bytes to large

Markus Westergren markus@mcab.se
Fri, 26 May 2000 17:10:28 +0200


I have a solution to the problem. By changing the following lines in the
rtl8129_rx funtion (around line 1260):

#if 1  /* USE_IP_COPYSUM */
            eth_copy_and_sum(skb, &rx_ring[ring_offset + 4],
                         rx_size, 0);
            skb_put(skb, rx_size);
#else

to

#if 1  /* USE_IP_COPYSUM */
            eth_copy_and_sum(skb, &rx_ring[ring_offset + 4],
                         rx_size - 4, 0);
            skb_put(skb, rx_size - 4);
#else

This removes the 32 bit status word from the packet data.  

/Markus