On Fri, Jun 19, 2020 at 10:45:23PM +0300, Vladimir Oltean wrote: > Yes, much better.
May I add your tag to the commit message, like this? Catch unexpected socket polling errors. The poll(2) system call may set POLLERR in the returned events. Normally no errors are returned unless specifically requested by setting an appropriate socket option. Nevertheless, the poll(2) API is quite generic, and there is no guarantee that the kernel networking stack might push an error event one day. This patch adds defensive code in order to catch any unexpected error condition. Suggested-by: Vladimir Oltean <olte...@gmail.com> Signed-off-by: Richard Cochran <richardcoch...@gmail.com> _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel