freebsd-skq/sys/netkey
bz 42bcb0a389 MFC:
rev. 1.39 sys/net/if_gre.c
  rev. 1.21 sys/netinet/ip_gre.c      rev. 1.4  sys/netinet/ip_gre.h
  rev. 1.12 sys/netipsec/keysock.c    rev. 1.3  sys/netipsec/keysock.h
  rev. 1.32 sys/netkey/keysock.c      rev. 1.9  sys/netkey/keysock.h

  Fix stack corruptions on amd64.

  Vararg functions have a different calling convention than regular
  functions on amd64. Casting a varag function to a regular one to
  match the function pointer declaration will hide the varargs from
  the caller and we will end up with an incorrectly setup stack.

  Entirely remove the varargs from these functions and change the
  functions to match the declaration of the function pointers.
  Remove the now unnecessary casts.

  Lots of explanations and help from:     peter
  PR:                                     amd64/89261
2006-01-27 21:50:11 +00:00
..
key_debug.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key_debug.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key.c MFC: scope cleanup. with this change 2005-11-04 20:26:16 +00:00
key.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
keydb.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
keydb.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
keysock.c MFC: 2006-01-27 21:50:11 +00:00
keysock.h MFC: 2006-01-27 21:50:11 +00:00