Print this page
re #13613 rb4516 Tunables needs volatile keyword
        
@@ -18,10 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  */
 
 /*
  * IP PACKET CLASSIFIER
  *
@@ -274,11 +275,11 @@
 
 /* Old value for compatibility. Setable in /etc/system */
 uint_t tcp_conn_hash_size = 0;
 
 /* New value. Zero means choose automatically.  Setable in /etc/system */
-uint_t ipcl_conn_hash_size = 0;
+volatile uint_t ipcl_conn_hash_size = 0;
 uint_t ipcl_conn_hash_memfactor = 8192;
 uint_t ipcl_conn_hash_maxsize = 82500;
 
 /* bind/udp fanout table size */
 uint_t ipcl_bind_fanout_size = 512;