Print this page
5042 stop using deprecated atomic functions

@@ -59,12 +59,12 @@
         kstat_t                 *esp_ksp;
         struct esp_kstats_s     *esp_kstats;
 
         /*
          * Keysock instance of ESP.  There can be only one per stack instance.
-         * Use casptr() on this because I don't set it until KEYSOCK_HELLO
-         * comes down.
+         * Use atomic_cas_ptr() on this because I don't set it until
+         * KEYSOCK_HELLO comes down.
          * Paired up with the esp_pfkey_q is the esp_event, which will age SAs.
          */
         queue_t                 *esp_pfkey_q;
         timeout_id_t            esp_event;