Hi Alex,
On Saturday 22 March 2008 11:29:33 Alex Popa wrote:
> Sorry for the big delay, but here are the traces you requested.
don't worry, you are a great help!
Could you try the attached patch? I missed the fact that you are using
FASTROUTE in your setup. There is obviously a problem with it, but the
attached patch should work around that. The other LOR really is harmless
and rather an oversight in WITNESS: a LOR with a shared/read lock can't
cause a deadlock (unless there is also a LOR with the same lock in
exclusive mode). But this is rather complex to check and might not be
easily implemented in WITNESS.
Anyways - I believe this patch should work around your problem. Let us
know your findings - thanks.
--
/"\ Best regards, | [EMAIL PROTECTED]
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED]
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
Index: pf.c
===================================================================
RCS file: /home/mlaier/fcvs/src/sys/contrib/pf/net/pf.c,v
retrieving revision 1.51
diff -u -r1.51 pf.c
--- pf.c 21 Nov 2007 10:12:52 -0000 1.51
+++ pf.c 22 Mar 2008 15:42:18 -0000
@@ -6106,7 +6106,13 @@
dst->sin_addr = ip->ip_dst;
if (r->rt == PF_FASTROUTE) {
+#ifdef __FreeBSD__
+ PF_UNLOCK();
+#endif
rtalloc(ro);
+#ifdef __FreeBSD__
+ PF_LOCK();
+#endif
if (ro->ro_rt == 0) {
ipstat.ips_noroute++;
goto bad;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"