diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2009-05-11 13:50:42 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2009-05-11 13:50:42 +0000 |
commit | 03cc95d21a36ab2a353cbbfbcfbc5d83e4f4a6e1 (patch) | |
tree | 8fe6bfbface75f17fd918d0c44f41af9c120ec4f /sys/amd64 | |
parent | 3980a435a2f6b57287c1d66bcb9c30b3d003b1e5 (diff) | |
download | src-03cc95d21a36ab2a353cbbfbcfbc5d83e4f4a6e1.tar.gz src-03cc95d21a36ab2a353cbbfbcfbc5d83e4f4a6e1.zip |
Translate l_timeval arg to native struct timeval in
linux_setsockopt()/linux_getsockopt() for SO_RCVTIMEO,
SO_SNDTIMEO opts as l_timeval has MD members.
Remove bogus __packed attribute from l_timeval struct on __amd64__.
PR: kern/134276
Submitted by: Thomas Mueller <tmueller sysgo com>
Approved by: kib (mentor)
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=191989
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/linux32/linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h index 78abf63f38a7..59970fdd3ce9 100644 --- a/sys/amd64/linux32/linux.h +++ b/sys/amd64/linux32/linux.h @@ -96,7 +96,7 @@ typedef struct { typedef struct { l_time_t tv_sec; l_suseconds_t tv_usec; -} __packed l_timeval; +} l_timeval; #define l_fd_set fd_set |