aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2009-05-11 13:50:42 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2009-05-11 13:50:42 +0000
commit03cc95d21a36ab2a353cbbfbcfbc5d83e4f4a6e1 (patch)
tree8fe6bfbface75f17fd918d0c44f41af9c120ec4f /sys/amd64
parent3980a435a2f6b57287c1d66bcb9c30b3d003b1e5 (diff)
downloadsrc-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.h2
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