OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-776-g63fb786
Gerrit Code Review
gerrit@openafs.org
Mon, 21 Feb 2011 20:38:57 -0800 (PST)
The following commit has been merged in the master branch:
commit 63fb786c541926dbf03a9452288c6a938c7cd6c4
Author: Andrew Deason <adeason@sinenomine.net>
Date: Mon Feb 21 12:39:48 2011 -0600
rx: Reset fd_set in LWP rxi_Sendmsg
When we select() on the socket fd in rxi_Sendmsg, we do not reset the
fd_set, and just use the same memory for any necessary subsequent
select()s. However, if the select returned on EINTR, the fd_set may be
cleared, and so we may try to select() on an empty fd_set forever. To
be sure that we don't do that, reset the fd_set to the socket fd every
time.
Change-Id: I5273351c70e593ad1b7849f4f56de1fcb12d1bbf
Reviewed-on: http://gerrit.openafs.org/4028
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx_lwp.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository