freebsd-dev/sys/netinet
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
..
libalias Fix outgoing ICMP on global instance. 2004-08-14 14:21:09 +00:00
accf_data.c
accf_http.c
icmp6.h
icmp_var.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
if_atm.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
if_atm.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
if_ether.c
if_ether.h
igmp_var.h
igmp.c
igmp.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
in_cksum.c
in_gif.c
in_gif.h
in_pcb.c In in_pcbrehash(), do assert the inpcb lock as well as the pcbinfo lock. 2004-08-19 01:11:17 +00:00
in_pcb.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
in_proto.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
in_rmx.c
in_systm.h
in_var.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
in.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
in.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
ip6.h
ip_divert.c Convert ipfw to use PFIL_HOOKS. This is change is transparent to userland 2004-08-17 22:05:54 +00:00
ip_divert.h
ip_dummynet.c Allocate memory when dumping pipes with M_WAITOK flag. 2004-08-25 09:31:30 +00:00
ip_dummynet.h Convert ipfw to use PFIL_HOOKS. This is change is transparent to userland 2004-08-17 22:05:54 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fastfwd.c Remove a junk line left over from the recent IPFW to PFIL_HOOKS conversion. 2004-08-27 15:32:28 +00:00
ip_fw2.c Revert the last change to sys/modules/ipfw/Makefile and fix a 2004-08-26 14:18:30 +00:00
ip_fw_pfil.c Always compile PFIL_HOOKS into the kernel and remove the associated kernel 2004-08-27 15:16:24 +00:00
ip_fw.h Bring back the sysctl 'net.inet.ip.fw.enable' to unbreak the startup scripts 2004-08-19 17:38:47 +00:00
ip_gre.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
ip_gre.h
ip_icmp.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
ip_icmp.h
ip_id.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
ip_input.c Always compile PFIL_HOOKS into the kernel and remove the associated kernel 2004-08-27 15:16:24 +00:00
ip_mroute.c Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
ip_mroute.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
ip_output.c In the case the destination of a packet was changed by the packet filter 2004-08-27 15:39:34 +00:00
ip_var.h Always compile PFIL_HOOKS into the kernel and remove the associated kernel 2004-08-27 15:16:24 +00:00
ip.h
ipprotosw.h
pim_var.h
pim.h
raw_ip.c When a prison is given the ability to create raw sockets (when the 2004-08-21 17:38:57 +00:00
tcp_debug.c
tcp_debug.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp_fsm.h
tcp_hostcache.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp_input.c Convert ipfw to use PFIL_HOOKS. This is change is transparent to userland 2004-08-17 22:05:54 +00:00
tcp_output.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp_reass.c Convert ipfw to use PFIL_HOOKS. This is change is transparent to userland 2004-08-17 22:05:54 +00:00
tcp_sack.c Convert ipfw to use PFIL_HOOKS. This is change is transparent to userland 2004-08-17 22:05:54 +00:00
tcp_seq.h
tcp_subr.c For IPv6 access pointer to tcpcb only after we have checked it is valid. 2004-08-19 20:16:17 +00:00
tcp_syncache.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp_timer.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp_timer.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp_timewait.c For IPv6 access pointer to tcpcb only after we have checked it is valid. 2004-08-19 20:16:17 +00:00
tcp_usrreq.c White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp_var.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcp.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
tcpip.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
udp_usrreq.c When sliding the m_data pointer forward, update m_pktrhdr.len as well 2004-08-22 01:32:48 +00:00
udp_var.h White space cleanup for netinet before branch: 2004-08-16 18:32:07 +00:00
udp.h