1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/sys/netipsec
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
..
ah_var.h
ah.h
esp_var.h
esp.h
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h
ipsec_input.c Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
ipsec_mbuf.c
ipsec_osdep.h
ipsec_output.c
ipsec.c o add missing break 2004-01-27 17:45:28 +00:00
ipsec.h Initial import of RFC 2385 (TCP-MD5) digest support. 2004-02-11 04:26:04 +00:00
key_debug.c
key_debug.h
key_var.h
key.c Fix a paste-o in key_cmpspidx_withmask(). 2004-06-22 17:17:44 +00:00
key.h
keydb.h
keysock.c Add required includes for post-sorwakeup() change to fix FAST_IPSEC 2004-06-23 01:58:22 +00:00
keysock.h
xform_ah.c
xform_esp.c
xform_ipcomp.c
xform_ipip.c Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
xform_tcp.c Fix a debugging printf snafu. 2004-04-20 14:53:35 +00:00
xform.h