summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-07-28 23:15:04 +0000
committermarcel <marcel@FreeBSD.org>2007-07-28 23:15:04 +0000
commitaa233d32b1e7dc57144bc67c340f3c52c982328b (patch)
tree321b250e205daf0306e621989b97304217f90226 /sys/netinet/tcp_input.c
parent03338701312c15220e1e66fcb969bd95cdfeb54c (diff)
downloadFreeBSD-src-aa233d32b1e7dc57144bc67c340f3c52c982328b.zip
FreeBSD-src-aa233d32b1e7dc57144bc67c340f3c52c982328b.tar.gz
Fix handling of Quad-type arguments. Previously, syscalls
containing 64-bit arguments would have explicit padding. On 64-bit platforms there was no padding, so the dummy argument was not covering anything. On 32-bit platforms with weak alignment (i.e. i386) the 64-bit argument did not need to be aligned, so there too an aditional argument was introduced. On 32-bit platforms with strong alignment (i.e. PowerPC) the dummy argument in fact cover the padding. By elimininating the dummy argument, 64-bit platforms now have 1 argument less. This also applies to 32-bit platforms with weak alignment. On PowerPC this doesn't matter, because the padding is still there. We just don't "name" it. Deal with those 3 cases. Approved by: re (kensmith)
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud