Print this page
new smatch

@@ -4851,11 +4851,11 @@
         mac_group_t *s_group = (mac_group_t *)ring->mr_gh;
         int rv;
 
         ASSERT(MAC_PERIM_HELD((mac_handle_t)mip));
         ASSERT(d_group != NULL);
-        ASSERT(s_group->mrg_mh == d_group->mrg_mh);
+        ASSERT(s_group == NULL || s_group->mrg_mh == d_group->mrg_mh);
 
         if (s_group == d_group)
                 return (0);
 
         /*