Actions
Bug #274
closedPatch to try - Re: Sendmail rset command hangs socket on 1.6-Release
Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Please try this patch and tell me if it works. I think we have an issue
when one process holds an exclusive lock while 2 or more processes are
trying to get a shared lock, or vise-versa.
-Matt
Index: kern_lockf.c
===================================================================
RCS file: /cvs/src/sys/kern/kern_lockf.c,v
retrieving revision 1.32
diff u -r1.32 kern_lockf.c kern_lockf.c 25 Jul 2006 20:01:50
--0000 1.32>lf_blocked, range, lf_link);
++ kern_lockf.c 2 Aug 2006 17:23:56 -0000@ -772,8 +772,10
@
TAILQ_REMOVE(&lock
range->lf_flags = 1;
wakeup(range);
#if 0
if (range->lf_start >= start && range->lf_end <= end)
break;
+#endif
}
}
No data to display
Actions