OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_18a-5-gdd0cb57
Gerrit Code Review
gerrit@openafs.org
Thu, 8 Nov 2012 06:26:13 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit fa6ca956be907ca23b5ccb3aa022c5ae77057046
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Aug 1 16:31:09 2012 -0400
LINUX: Fix error queue processing
Receiving error queues in the Linux kernel is a little different from
userspace. When we encounter a cmsg that is not CMSG_OK, we need to
break out of the loop, and not just continue, since we can keep trying
to process the same cmsg over and over. In addition, on successful
return, the msg_control buffer has been modified to point to the next
available buffer space, and msg_controllen contains how many bytes are
remaining. So, we need to adjust the msg_control and msg_controllen
values to get something more familiar.
Reviewed-on: http://gerrit.openafs.org/7927
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 407cfd281eab375512881945999b7e13ba93936e)
Change-Id: I4ae9ed0146fa8b2b47d5894236d2148ec02d6472
Reviewed-on: http://gerrit.openafs.org/8380
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/rx/LINUX/rx_knet.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository