- **status**: review --> fixed
- **Comment**:
changeset: 8404:48f6010fc4b0
branch: opensaf-5.0.x
parent: 8398:bc37759532ea
user: Anders Widell <[email protected]>
date: Fri Dec 02 12:24:37 2016 +0100
summary: mds: Avoid hanging MDS receive thread when poll() returns an error
[#2182]
changeset: 8405:4aba8bf8cb47
branch: opensaf-5.1.x
parent: 8403:49a34fda2d85
user: Anders Widell <[email protected]>
date: Fri Dec 02 12:24:37 2016 +0100
summary: mds: Avoid hanging MDS receive thread when poll() returns an error
[#2182]
changeset: 8406:b80bfbf27af8
parent: 8402:8ddb11c4e198
user: Anders Widell <[email protected]>
date: Fri Dec 02 12:24:37 2016 +0100
summary: mds: Avoid hanging MDS receive thread when poll() returns an error
[#2182]
[staging:48f601]
[staging:4aba8b]
[staging:b80bfb]
---
** [tickets:#2182] mds: MDS receive thread may hang when a signal is caught**
**Status:** fixed
**Milestone:** 5.0.2
**Created:** Wed Nov 09, 2016 03:42 PM UTC by Anders Widell
**Last Updated:** Wed Nov 09, 2016 03:58 PM UTC
**Owner:** Anders Widell
The result from poll() is incorrectly stored in an unsigned integer, which
means that if poll() returns -1 we will interpret the result as a very large
number. Subsequently, we read the possibly undefined values of pollfd.revents,
and may perform a blocking read.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets