Print this page
10687 Service routine cast changes need smatch fixes

@@ -19,11 +19,11 @@
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
- * Copyright 2017 Joyent, Inc.
+ * Copyright 2019, Joyent, Inc.
  */
 
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/stream.h>

@@ -3607,11 +3607,11 @@
                 return (0);
         }
 
         while ((mp = getq(q)) != NULL) {
                 if (ipsec_loaded(ipss)) {
-                        spdsock_wput(q, mp);
+                        (void) spdsock_wput(q, mp);
                         if (ss->spdsock_dump_req != NULL)
                                 return (0);
                 } else if (!ipsec_failed(ipss)) {
                         (void) putq(q, mp);
                 } else {