Print this page
4510 Lose SIOC*IPSECONFIG ioctl definitions
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -20,10 +20,11 @@
  */
 /*
  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 1990 Mentat Inc.
  * Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright (c) 2014, OmniTI Computer Consulting, Inc. All rights reserved.
  */
 
 /*
  * This file contains the interface control functions for IP.
  */

@@ -9187,11 +9188,13 @@
                         goto nak;
                 mi_copyin(q, mp, NULL, copyin_size);
                 return;
 
         default:
-                cmn_err(CE_PANIC, "should not happen ");
+                cmn_err(CE_WARN, "Unknown ioctl %d/0x%x slipped through.",
+                    iocp->ioc_cmd, iocp->ioc_cmd);
+                /* FALLTHRU */
         }
 nak:
         if (mp->b_cont != NULL) {
                 freemsg(mp->b_cont);
                 mp->b_cont = NULL;