freebsd-dev/sys/netgraph/atm
Andre Oppermann 3161f583ca 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@remus.dti.ne.jp>
MFC after:	3 days
2004-08-27 18:33:08 +00:00
..
atmpif Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
ccatm This is the netgraph node framework for the user side call control 2004-08-12 14:22:00 +00:00
sscfu
sscop
uni
ng_atm.c
ng_atm.h
ng_atmpif.h
ng_ccatm.h This is the netgraph node framework for the user side call control 2004-08-12 14:22:00 +00:00
ng_sscfu.h
ng_sscop.h
ng_uni.h
ngatmbase.c
ngatmbase.h