freebsd-nq/sys/netgraph
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
..
atm Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
bluetooth Align netgraph message fields ready for 64-bit (and 128 bit :-) machines. 2004-08-20 01:24:23 +00:00
netgraph.h Align netgraph message fields ready for 64-bit (and 128 bit :-) machines. 2004-08-20 01:24:23 +00:00
ng_async.c Consistently use __inline instead of __inline__ as the former is an empty macro 2004-07-04 16:11:03 +00:00
ng_async.h
ng_atmllc.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_atmllc.h
ng_base.c When making a peer of unknown type framework tries to load module 2004-07-27 20:30:56 +00:00
ng_bpf.c Avoid calling bpf_filter() with len == 0, which causes a change in semantics 2004-06-23 02:37:10 +00:00
ng_bpf.h
ng_bridge.c Convert ipfw to use PFIL_HOOKS. This is change is transparent to userland 2004-08-17 22:05:54 +00:00
ng_bridge.h
ng_cisco.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_cisco.h
ng_device.c In ng_device_newhook(): 2004-07-20 13:16:17 +00:00
ng_device.h Remove 3rd clause from the licence. 2004-06-29 15:46:12 +00:00
ng_echo.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_echo.h
ng_eiface.c Introduce a new mutex, ng_eiface_mtx, to protect the global unit list 2004-07-14 20:26:29 +00:00
ng_eiface.h
ng_etf.c Having moved metadata usage to mbuf tags, remove code that supports 2004-06-26 22:24:16 +00:00
ng_etf.h
ng_ether.c Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
ng_ether.h
ng_fec.c Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
ng_fec.h
ng_frame_relay.c Mark 'makeup' in ng_frame_relay as const, as its values are immutable. 2004-07-12 04:35:42 +00:00
ng_frame_relay.h
ng_gif_demux.c Consistently use __inline instead of __inline__ as the former is an empty macro 2004-07-04 16:11:03 +00:00
ng_gif_demux.h
ng_gif.c Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
ng_gif.h
ng_hole.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_hole.h
ng_hub.c Having moved metadata usage to mbuf tags, remove code that supports 2004-06-26 22:24:16 +00:00
ng_hub.h
ng_iface.c Introduce a new mutex, ng_iface_mtx, to protect the global unit list 2004-07-14 20:24:21 +00:00
ng_iface.h
ng_ip_input.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_ip_input.h
ng_ksocket.c Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
ng_ksocket.h oops from Gleb.. 2004-06-25 22:59:59 +00:00
ng_l2tp.c Implement minimalistic L2TP sessions statistics and correct man page 2004-08-03 06:52:55 +00:00
ng_l2tp.h Implement minimalistic L2TP sessions statistics and correct man page 2004-08-03 06:52:55 +00:00
ng_lmi.c Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
ng_lmi.h
ng_message.h Align netgraph message fields ready for 64-bit (and 128 bit :-) machines. 2004-08-20 01:24:23 +00:00
ng_mppc.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_mppc.h
ng_one2many.c Having moved metadata usage to mbuf tags, remove code that supports 2004-06-26 22:24:16 +00:00
ng_one2many.h
ng_parse.c Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
ng_parse.h
ng_ppp.c Do not change link[n].conf.latency for internal usage but have 2004-08-03 06:34:55 +00:00
ng_ppp.h
ng_pppoe.c Another stupid error from my side. PPPOE_NONSTANDARD was first defined 2004-08-01 20:39:33 +00:00
ng_pppoe.h When node is server serve both standard RFC2516 and non-standard 3Com 2004-07-27 19:47:13 +00:00
ng_pptpgre.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_pptpgre.h
ng_rfc1490.c Make the frameworkl responsible for not passing the nodes a NULL mbuf pointer. 2004-06-25 21:11:14 +00:00
ng_rfc1490.h Add the capacity for the rfc1490 node to handle cisco style encasulation 2004-06-13 15:44:00 +00:00
ng_sample.c Address node in a less complex way. 2004-07-29 08:05:02 +00:00
ng_sample.h
ng_socket.c Fix a stupid error in my previous commit, which broke operation 2004-07-31 21:32:55 +00:00
ng_socket.h
ng_socketvar.h
ng_source.c Slight cosmetic changes. 2004-07-20 17:15:38 +00:00
ng_source.h
ng_split.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_split.h
ng_sppp.c Consistently use __inline instead of __inline__ as the former is an empty macro 2004-07-04 16:11:03 +00:00
ng_sppp.h
ng_tee.c Having moved metadata usage to mbuf tags, remove code that supports 2004-06-26 22:24:16 +00:00
ng_tee.h
ng_tty.c Add a mutex ng_tty_mtx to protect the global variable ngt_unit. Note 2004-07-14 20:31:05 +00:00
ng_tty.h
ng_UI.c Make the frameworkl responsible for not passing the nodes a NULL mbuf pointer. 2004-06-25 21:11:14 +00:00
ng_UI.h
ng_vjc.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_vjc.h
ng_vlan.c Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
ng_vlan.h
NOTES