From: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
To: j.dumon@option.com
Cc: netdev@vger.kernel.org
Subject: [PATCH] hso: add missing last_rx setting
Date: Thu, 04 Jun 2009 18:50:23 +0300 [thread overview]
Message-ID: <20090604155019.6660.33231.stgit@Programuotojas> (raw)
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
---
drivers/net/usb/hso.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
next reply other threads:[~2009-06-04 15:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 15:50 Paulius Zaleckas [this message]
2009-06-04 22:42 ` [PATCH] hso: add missing last_rx setting David Miller
2009-06-09 14:05 ` Paulius Zaleckas
2009-06-09 14:37 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090604155019.6660.33231.stgit@Programuotojas \
--to=paulius.zaleckas@teltonika.lt \
--cc=j.dumon@option.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).