src/mds/mds_dt_trans.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/src/mds/mds_dt_trans.c b/src/mds/mds_dt_trans.c
--- a/src/mds/mds_dt_trans.c
+++ b/src/mds/mds_dt_trans.c
@@ -799,6 +799,11 @@ uint32_t mdtm_process_recv_events_tcp(vo
                                mdtm_process_poll_recv_data_tcp();
                        }
 
+                       if (pfd[0].revents & POLLNVAL) {
+                               m_MDS_LOG_INFO("MDTM: DBSRsock has been 
closed\n");
+                               pfd[0].fd = -1;
+                       }
+
                        if (pfd[1].revents & POLLIN) {
                                m_MDS_LOG_INFO("MDTM: Processing Timer mailbox 
events\n");
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to