Message ID | 20110804123755.GA14858@electric-eye.fr.zoreil.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Francois Romieu <romieu@fr.zoreil.com> Date: Thu, 4 Aug 2011 14:37:55 +0200 > Addresses https://bugzilla.kernel.org/show_bug.cgi?id=14076. > > Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> > Tested-by: Jon Nelson <jnelson@jamponi.net> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index deb1eca..ae66696 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c @@ -2092,6 +2092,7 @@ static int velocity_receive_frame(struct velocity_info *vptr, int idx) netif_rx(skb); stats->rx_bytes += pkt_len; + stats->rx_packets++; return 0; }