Re: [PATCH] fmvj18x_cs: don't reference skb after passing it to netif_rx

Jeff Garzik (jgarzik@mandrakesoft.com)
Mon, 26 Feb 2001 20:57:37 -0500


This is a multi-part message in MIME format.
--------------C7DB0BF7082135058F1EC68F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ditto...

-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
--------------C7DB0BF7082135058F1EC68F
Content-Type: text/plain; charset=us-ascii;
 name="fmv.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="fmv.patch"

Index: drivers/net/pcmcia/fmvj18x_cs.c =================================================================== RCS file: /cvsroot/gkernel/linux_2_4/drivers/net/pcmcia/fmvj18x_cs.c,v retrieving revision 1.1.1.14.2.2 diff -u -r1.1.1.14.2.2 fmvj18x_cs.c --- drivers/net/pcmcia/fmvj18x_cs.c 2001/02/23 03:37:00 1.1.1.14.2.2 +++ drivers/net/pcmcia/fmvj18x_cs.c 2001/02/27 01:57:16 @@ -1080,8 +1080,9 @@ #endif netif_rx(skb); + dev->last_rx = jiffies; lp->stats.rx_packets++; - lp->stats.rx_bytes += skb->len; + lp->stats.rx_bytes += pkt_len; } if (--boguscount <= 0) break;

--------------C7DB0BF7082135058F1EC68F--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/