Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118889
b: refs/heads/master
c: d35aac1
h: refs/heads/master
i:
  118887: 84585e7
v: v3
  • Loading branch information
Patrick Ohly authored and David S. Miller committed Nov 12, 2008
1 parent ed81f78 commit 0b49d7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f65b5354b1a34a536641bd915958662e8af5320
refs/heads/master: d35aac10eb7bcb3b80bef16b60844af0313f47f7
4 changes: 2 additions & 2 deletions trunk/net/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,14 @@ int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *dat
return 0; /* XXX: return error? check spec. */
}

if (level == SOL_SOCKET && type == SO_TIMESTAMP) {
if (level == SOL_SOCKET && type == SCM_TIMESTAMP) {
struct timeval *tv = (struct timeval *)data;
ctv.tv_sec = tv->tv_sec;
ctv.tv_usec = tv->tv_usec;
data = &ctv;
len = sizeof(ctv);
}
if (level == SOL_SOCKET && type == SO_TIMESTAMPNS) {
if (level == SOL_SOCKET && type == SCM_TIMESTAMPNS) {
struct timespec *ts = (struct timespec *)data;
cts.tv_sec = ts->tv_sec;
cts.tv_nsec = ts->tv_nsec;
Expand Down

0 comments on commit 0b49d7b

Please sign in to comment.