lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090604155019.6660.33231.stgit@Programuotojas>
Date:	Thu, 04 Jun 2009 18:50:23 +0300
From:	Paulius Zaleckas <paulius.zaleckas@...tonika.lt>
To:	j.dumon@...ion.com
Cc:	netdev@...r.kernel.org
Subject: [PATCH] hso: add missing last_rx setting

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@...tonika.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);

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ