Print this page
4786 emlxs shouldn't abuse ddi_get_time(9f)

*** 21,30 **** --- 21,33 ---- /* * Copyright 2010 Emulex. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2014 Nexenta Systems, Inc. All rights reserved. + */ #ifndef _EMLXS_DHCHAP_H #define _EMLXS_DHCHAP_H #ifdef __cplusplus
*** 274,284 **** uint32_t hash_priority[4]; uint32_t dh_group_priority[8]; uint32_t reauthenticate_time_interval; dfc_auth_status_t auth_status; ! time_t auth_time; struct emlxs_node *node; struct emlxs_auth_cfg *prev; struct emlxs_auth_cfg *next; } emlxs_auth_cfg_t; --- 277,287 ---- uint32_t hash_priority[4]; uint32_t dh_group_priority[8]; uint32_t reauthenticate_time_interval; dfc_auth_status_t auth_status; ! uint32_t auth_time; struct emlxs_node *node; struct emlxs_auth_cfg *prev; struct emlxs_auth_cfg *next; } emlxs_auth_cfg_t;
*** 354,364 **** #define ELX_FABRIC_AUTH_SUCCESS 0x03 #define ELX_FABRIC_IN_AUTH 0x04 #define ELX_FABRIC_IN_REAUTH 0x05 dfc_auth_status_t auth_status; /* Fabric auth status */ ! time_t auth_time; } emlxs_port_dhc_t; /* Node Events */ --- 357,367 ---- #define ELX_FABRIC_AUTH_SUCCESS 0x03 #define ELX_FABRIC_IN_AUTH 0x04 #define ELX_FABRIC_IN_REAUTH 0x05 dfc_auth_status_t auth_status; /* Fabric auth status */ ! uint32_t auth_time; } emlxs_port_dhc_t; /* Node Events */