patch-2.4.27 linux-2.4.27/net/core/sock.c
Next file: linux-2.4.27/net/decnet/dn_dev.c
Previous file: linux-2.4.27/net/core/ethtool.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2004-08-07 16:26:06.825435984 -0700
- Orig file:
linux-2.4.26/net/core/sock.c
- Orig date:
2004-04-14 06:05:41.000000000 -0700
diff -urN linux-2.4.26/net/core/sock.c linux-2.4.27/net/core/sock.c
@@ -516,7 +516,7 @@
v.tm.tv_usec = 0;
} else {
v.tm.tv_sec = sk->rcvtimeo/HZ;
- v.tm.tv_usec = ((sk->rcvtimeo%HZ)*1000)/HZ;
+ v.tm.tv_usec = ((sk->rcvtimeo%HZ)*1000000)/HZ;
}
break;
@@ -527,7 +527,7 @@
v.tm.tv_usec = 0;
} else {
v.tm.tv_sec = sk->sndtimeo/HZ;
- v.tm.tv_usec = ((sk->sndtimeo%HZ)*1000)/HZ;
+ v.tm.tv_usec = ((sk->sndtimeo%HZ)*1000000)/HZ;
}
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)