cvs commit: src/sys/dev/hfa fore_receive.c src/sys/dev/idt idt_harp.c src/sys/dev/ppbus if_plip.c src/sys/i4b/driver i4b_ipr.c src/sys/net if_loop.c if_ppp.c if_sl.c if_spppsubr.c netisr.c rtsock.c src/sys/netgraph/atm/atmpif ng_atmpif_harp.c ...

Andre Oppermann andre at FreeBSD.org
Fri Aug 27 11:33:08 PDT 2004


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.dti.ne.jp>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.23      +1 -1      src/sys/dev/hfa/fore_receive.c
  1.6       +1 -2      src/sys/dev/idt/idt_harp.c
  1.36      +2 -2      src/sys/dev/ppbus/if_plip.c
  1.28      +1 -5      src/sys/i4b/driver/i4b_ipr.c
  1.102     +1 -1      src/sys/net/if_loop.c
  1.101     +2 -2      src/sys/net/if_ppp.c
  1.124     +1 -1      src/sys/net/if_sl.c
  1.114     +1 -1      src/sys/net/if_spppsubr.c
  1.11      +5 -3      src/sys/net/netisr.c
  1.117     +1 -1      src/sys/net/rtsock.c
  1.2       +1 -1      src/sys/netgraph/atm/atmpif/ng_atmpif_harp.c
  1.108     +1 -1      src/sys/netinet/ip_mroute.c
  1.19      +2 -2      src/sys/netinet6/ah_input.c
  1.25      +2 -2      src/sys/netinet6/esp_input.c
  1.8       +2 -2      src/sys/netipsec/ipsec_input.c
  1.10      +1 -1      src/sys/netipsec/xform_ipip.c


More information about the cvs-src mailing list