projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c1d31
)
[PATCH] svcsock timestamp fix
author
Andrew Morton
<akpm@osdl.org>
Wed, 26 Oct 2005 08:59:03 +0000
(
01:59
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 26 Oct 2005 17:39:43 +0000
(10:39 -0700)
Convert nanoseconds to microseconds correctly.
Spotted by Steve Dickson <SteveD@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/svcsock.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/svcsock.c
b/net/sunrpc/svcsock.c
index
30ec3ef
..
691dea4
100644
(file)
--- a/
net/sunrpc/svcsock.c
+++ b/
net/sunrpc/svcsock.c
@@
-587,7
+587,7
@@
svc_udp_recvfrom(struct svc_rqst *rqstp)
struct timeval tv;
tv.tv_sec = xtime.tv_sec;
- tv.tv_usec = xtime.tv_nsec
* 1000
;
+ tv.tv_usec = xtime.tv_nsec
/ NSEC_PER_USEC
;
skb_set_timestamp(skb, &tv);
/* Don't enable netstamp, sunrpc doesn't
need that much accuracy */