IPfilter
[Top] [All Lists]

Re: Solaris 9 crashes with IP Filter

To: Vincent Fox <vbfox@ucdavis.edu>
Subject: Re: Solaris 9 crashes with IP Filter
From: Darren Reed <darrenr@reed.wattle.id.au>
Date: Tue, 13 Feb 2007 23:22:10 -0800
Cc: ipfilter@coombs.anu.edu.au
Delivered-to: sp-com-lists@consult.net
Delivered-to: ipfilter-list@securepoint.com
In-reply-to: <45D255F4.2070109@ucdavis.edu>
References: <200702131653.RAA03925@ultra.ap.krakow.pl> <45D255F4.2070109@ucdavis.edu>
Reply-to: darrenr@reed.wattle.id.au
Sender: owner-ipfilter@coombs.anu.edu.au
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
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>