IPfilter
[Top] [All Lists]

Re: Solaris 9 crashes with IP Filter

To: darrenr@reed.wattle.id.au
Subject: Re: Solaris 9 crashes with IP Filter
From: Vincent Fox <vbfox@ucdavis.edu>
Date: Fri, 23 Feb 2007 10:39:37 -0800
Cc: ipfilter@coombs.anu.edu.au
Delivered-to: sp-com-lists@consult.net
Delivered-to: ipfilter-list@securepoint.com
In-reply-to: <45D2B8A2.9080502@reed.wattle.id.au>
References: <200702131653.RAA03925@ultra.ap.krakow.pl> <45D255F4.2070109@ucdavis.edu> <45D2B8A2.9080502@reed.wattle.id.au>
Sender: owner-ipfilter@coombs.anu.edu.au
User-agent: Thunderbird 1.5.0.9 (X11/20061215)

I just wanted to acknowledge that this patch does seem to
have resolved our issue.  Our test systems have not
experienced the same hangs since applying it.

Awesome work!

Darren Reed wrote:
Try this patch to the pfil module.

Darren

diff -c -r1.18 pkt.c
*** pkt.c       24 May 2006 06:06:48 -0000      1.18
--- pkt.c       13 Feb 2007 10:20:28 -0000
***************
*** 210,215 ****
--- 210,224 ----
  }
+ void
+ pfil_timeoutsend(void *arg)
+ {
+       mblk_t *m = arg;
+
+       putnext(m->b_queue, m);
+ }
+
+
  /*
------------------------------------------------------------------------ */
/* Function: pfil_makearpreq */
  /* Returns:     int  - 0 == success, 1 ==
failure                           */
***************
*** 303,308 ****
linkb(new->ire_mp, mb);
        linkb(n, new->ire_mp);
!       putnext(q, n);
        return 0;
  }
--- 312,318 ----
linkb(new->ire_mp, mb);
        linkb(n, new->ire_mp);
!       n->b_queue = q;
!       timeout(pfil_timeoutsend, n, 2);
        return 0;
  }



<Prev in Thread] Current Thread [Next in Thread>