On 21 Okt, An: [EMAIL PROTECTED] wrote:
> Hi,
> 
> current as of Oct. 21 (~12am CET), I just booted with a new kernel+world
> and tried to dial out.

At least the attached patch (against -current as of today morning) makes
me able to dial out and send out this mail.

Bye,
Alexander.

-- 
Actually, Microsoft is sort of a mixture between the Borg and the Ferengi.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
Index: sys/i4b/layer1/isic/i4b_bchan.c
===================================================================
RCS file: /big/FreeBSD-CVS/src/sys/i4b/layer1/isic/i4b_bchan.c,v
retrieving revision 1.7
diff -u -r1.7 i4b_bchan.c
--- sys/i4b/layer1/isic/i4b_bchan.c     24 Jan 2001 08:41:52 -0000      1.7
+++ sys/i4b/layer1/isic/i4b_bchan.c     25 Oct 2001 16:08:50 -0000
@@ -90,7 +90,8 @@
        chan->rx_queue.ifq_maxlen = IFQ_MAXLEN;
 
 #if defined (__FreeBSD__) && __FreeBSD__ > 4   
-       mtx_init(&chan->rx_queue.ifq_mtx, "i4b_isic_rx", MTX_DEF);
+       if (!mtx_initialized(&chan->rx_queue.ifq_mtx))
+               mtx_init(&chan->rx_queue.ifq_mtx, "i4b_isic_rx", MTX_DEF);
 #endif
 
        i4b_Bcleanifq(&chan->rx_queue); /* clean rx queue */
@@ -108,7 +109,8 @@
        chan->tx_queue.ifq_maxlen = IFQ_MAXLEN;
 
 #if defined (__FreeBSD__) && __FreeBSD__ > 4   
-       mtx_init(&chan->tx_queue.ifq_mtx, "i4b_isic_tx", MTX_DEF);
+       if (!mtx_initialized(&chan->tx_queue.ifq_mtx))
+               mtx_init(&chan->tx_queue.ifq_mtx, "i4b_isic_tx", MTX_DEF);
 #endif
        
        i4b_Bcleanifq(&chan->tx_queue); /* clean tx queue */

Reply via email to