From patchwork Thu Jun 4 15:50:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulius Zaleckas X-Patchwork-Id: 28108 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id DD5CCB7069 for ; Fri, 5 Jun 2009 01:50:37 +1000 (EST) Received: by ozlabs.org (Postfix) id C9A40DDDE7; Fri, 5 Jun 2009 01:50:37 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 68E7DDDDE6 for ; Fri, 5 Jun 2009 01:50:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753330AbZFDPu1 (ORCPT ); Thu, 4 Jun 2009 11:50:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753298AbZFDPu0 (ORCPT ); Thu, 4 Jun 2009 11:50:26 -0400 Received: from 81-7-68-229.static.zebra.lt ([81.7.68.229]:53336 "EHLO teltonika.lt" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753057AbZFDPuZ (ORCPT ); Thu, 4 Jun 2009 11:50:25 -0400 Received: (qmail 2646 invoked by uid 109); 4 Jun 2009 15:53:46 -0000 Received: from 217.147.39.138 by mailserver (envelope-from , uid 112) with qmail-scanner-1.25st (spamassassin: 3.1.7-deb. perlscan: 1.25st. Clear:RC:1(217.147.39.138):. Processed in 0.029625 secs); 04 Jun 2009 15:53:46 -0000 Received: from unknown (HELO [127.0.0.1]) (paulius.zaleckas@[217.147.39.138]) (envelope-sender ) by teltonika.lt (qmail-ldap-1.03) with SMTP for ; 4 Jun 2009 15:53:46 -0000 From: Paulius Zaleckas Subject: [PATCH] hso: add missing last_rx setting To: j.dumon@option.com Cc: netdev@vger.kernel.org Date: Thu, 04 Jun 2009 18:50:23 +0300 Message-ID: <20090604155019.6660.33231.stgit@Programuotojas> User-Agent: StGIT/0.14.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Paulius Zaleckas --- drivers/net/usb/hso.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- 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/usb/hso.c b/drivers/net/usb/hso.c index f84b78d..1064dda 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -958,8 +958,8 @@ static void packetizeRx(struct hso_net *odev, unsigned char *ip_pkt, /* update out statistics */ odev->net->stats.rx_packets++; - odev->net->stats.rx_bytes += odev->rx_buf_size; + odev->net->last_rx = jiffies; odev->rx_buf_size = 0; odev->rx_buf_missing = sizeof(struct iphdr);