[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ISDN4BSD broken...



Matthias Schuendehuette writes:
> Hi,
> 
> there's still no change with 5.3-BETA1 :-(
> 

A commit was just made to -current which may have fixed this. Here's
the commit message for those who don't get the commit mails.

andre       2004-08-27 18:33:08 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/hfa          fore_receive.c 
    sys/dev/idt          idt_harp.c 
    sys/dev/ppbus        if_plip.c 
    sys/i4b/driver       i4b_ipr.c 
    sys/net              if_loop.c if_ppp.c if_sl.c if_spppsubr.c 
                         netisr.c rtsock.c 
    sys/netgraph/atm/atmpif ng_atmpif_harp.c 
    sys/netinet          ip_mroute.c 
    sys/netinet6         ah_input.c esp_input.c 
    sys/netipsec         ipsec_input.c xform_ipip.c 
  Log:
  Apply error and success logic consistently to the function netisr_queue() and
  its users.
  
  netisr_queue() now returns (0) on success and ERRNO on failure.  At the
  moment ENXIO (netisr queue not functional) and ENOBUFS (netisr queue full)
  are supported.
  
  Previously it would return (1) on success but the return value of IF_HANDOFF()
  was interpreted wrongly and (0) was actually returned on success.  Due to this
  schednetisr() was never called to kick the scheduling of the isr.  However this
  was masked by other normal packets coming through netisr_dispatch() causing the
  dequeueing of waiting packets.
  
  PR:             kern/70988
  Found by:       MOROHOSHI Akihiko <moro_(_at_)_remus_(_dot_)_dti_(_dot_)_ne_(_dot_)_jp>
  MFC after:      3 days

---
Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de


Visit your host, monkey.org