Print this page
8955 bound+reserved ports can be leaked (when NFS client reboots too
quickly)
Reviewed by: Dan McDonald <danmcd@joyent.com>

@@ -2278,10 +2278,11 @@
                  * NULL to caller.
                  */
                 if (rpcerr->re_status == RPC_SUCCESS)
                         rpcerr->re_status = RPC_XPRTFAILED;
                 cm_entry->x_connected = FALSE;
+                cm_entry->x_dead = TRUE;
         } else
                 cm_entry->x_connected = connected;
 
         /*
          * There could be a discrepancy here such that

@@ -2396,10 +2397,11 @@
                          * NULL to caller.
                          */
                         if (rpcerr->re_status == RPC_SUCCESS)
                                 rpcerr->re_status = RPC_XPRTFAILED;
                         cm_entry->x_connected = FALSE;
+                        cm_entry->x_dead = TRUE;
                 } else
                         cm_entry->x_connected = connected;
 
                 /*
                  * There could be a discrepancy here such that