Skip to content

Commit

Permalink
* */sys/sys/socket.h: use ALIGNBYTES, instead of sizeof(long) - 1,
Browse files Browse the repository at this point in the history
  for CMSG alignment.  without it CMSG alignment is not spec
  conformant if
	ALIGNBYTES > sizeof(long) - 1.
  this add dependency from sys/socket.h to machine/param.h - which may
  not be right.

  NOTE: recompile all IPv6 userland, if you are on architecture
  with ALIGNBYTES != sizeof(long) - 1.
  TODO: make it future adaptable by using sysctl hw.alignbytes.
  (maybe for *bsd-current?)
  • Loading branch information
itojun committed Feb 27, 2000
1 parent c0d4712 commit be6ecef
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion CHANGELOG
@@ -1,8 +1,21 @@
CHANGELOG for KAME kit

$Id: CHANGELOG,v 1.624 2000/02/26 13:12:13 jinmei Exp $
$Id: CHANGELOG,v 1.625 2000/02/27 08:30:15 itojun Exp $

<200002>
Sun Feb 27 16:43:04 JST 2000 itojun@iijlab.net
* */sys/sys/socket.h: use ALIGNBYTES, instead of sizeof(long) - 1,
for CMSG alignment. without it CMSG alignment is not spec
conformant if
ALIGNBYTES > sizeof(long) - 1.
this add dependency from sys/socket.h to machine/param.h - which may
not be right.

NOTE: recompile all IPv6 userland, if you are on architecture
with ALIGNBYTES != sizeof(long) - 1.
TODO: make it future adaptable by using sysctl hw.alignbytes.
(maybe for *bsd-current?)

Sat Feb 26 20:46:03 JST 2000 itojun@iijlab.net
* sys/netinet6/esp_input.c: with IPv6 ESP, correctly handle
off != sizeof(ip6) case.
Expand Down

0 comments on commit be6ecef

Please sign in to comment.