Print this page
8927 sadb_x_kmc_t's KM cookie should be 64-bits
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>

*** 20,29 **** --- 20,30 ---- */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved. + * Copyright 2017 Joyent, Inc. */ #ifndef _INET_SADB_H #define _INET_SADB_H
*** 245,255 **** uint_t ipsa_replay_wsize; /* Size of replay window */ uint32_t ipsa_flags; /* Flags for security association. */ uint32_t ipsa_spi; /* Security parameters index. */ uint32_t ipsa_replay; /* Highest seen replay value for this SA. */ uint32_t ipsa_kmp; /* key management proto */ ! uint32_t ipsa_kmc; /* key management cookie */ boolean_t ipsa_haspeer; /* Has peer in another table. */ /* * Address storage. --- 246,256 ---- uint_t ipsa_replay_wsize; /* Size of replay window */ uint32_t ipsa_flags; /* Flags for security association. */ uint32_t ipsa_spi; /* Security parameters index. */ uint32_t ipsa_replay; /* Highest seen replay value for this SA. */ uint32_t ipsa_kmp; /* key management proto */ ! uint64_t ipsa_kmc; /* key management cookie (now 64-bit) */ boolean_t ipsa_haspeer; /* Has peer in another table. */ /* * Address storage.
*** 688,698 **** struct sockaddr_in *dst; struct sockaddr_in6 *dst6; sa_family_t af; uint32_t *srcaddr, *dstaddr; uint32_t ifindex; ! uint32_t kmc, kmp; char *didstr, *sidstr; uint16_t didtype, sidtype; sadbp_t *spp; sadb_t *sp; isaf_t *inbound, *outbound; --- 689,700 ---- struct sockaddr_in *dst; struct sockaddr_in6 *dst6; sa_family_t af; uint32_t *srcaddr, *dstaddr; uint32_t ifindex; ! uint32_t kmp; ! uint64_t kmc; char *didstr, *sidstr; uint16_t didtype, sidtype; sadbp_t *spp; sadb_t *sp; isaf_t *inbound, *outbound;