Go to file
joerg 35b726a534 Fix a kernel segfault when a RX interrupt can't allocate a new mbuf.
The change adopts the idea of fxp to drop the incoming packet and panic
if the old mbuf cannot be reloaded. Since the bus_dmamap is allocated
during attach, this is not supposed to happen. Since a lot of code moves
anyway, factor out the allocation of RX ring elements, which is shared
between the init path and the RX interrupt path.

XXX A better fix might be to borrow the mbuf from the logic end of the
XXX ring buffer, but that needs more involved driver changes.

Reviewed by dyoung@ and nick@
2005-10-19 20:18:00 +00:00
bin PR/27140: "sleep time" doesn't error out. 2005-10-17 10:11:46 +00:00
crypto Merge ipsec-tools 0.6.2 import. 2005-10-14 14:01:34 +00:00
dist use strlen properly. 2005-10-17 19:07:43 +00:00
distrib Align header with table 2005-10-16 20:39:52 +00:00
doc Update cvs Home Page and Archive Site. 2005-10-18 00:47:05 +00:00
etc Load Veriexec signatures after mountall. Use veriexec_strict and 2005-10-15 23:26:30 +00:00
games Removed the unnecessary #include <ctype.h>. 2005-10-18 20:13:04 +00:00
gnu Install /usr/share/doc/html/postfix/postfix-logo.jpg too since 2005-10-10 15:34:30 +00:00
include Change the sched_*() functions to return -1 and set errno to ENOSYS 2005-10-09 11:17:28 +00:00
lib if mlock() fails in pthread_create(), return EAGAIN instead of 2005-10-19 02:44:45 +00:00
libexec Correct the lookup order of _rtld_symlook_default and make 2005-10-13 11:14:09 +00:00
regress add wcsncpy test. 2005-10-13 21:36:11 +00:00
rescue put back tetris; by popular demand. 2005-09-23 00:29:51 +00:00
sbin Mention "kern.bufq.strategies", bump date. 2005-10-15 23:05:45 +00:00
share - Fix pasto (s/keyboard/mouse/) 2005-10-19 18:33:25 +00:00
sys Fix a kernel segfault when a RX interrupt can't allocate a new mbuf. 2005-10-19 20:18:00 +00:00
tools Fix previous commit. Broken logic 2005-10-04 04:56:19 +00:00
usr.bin Edit -s text. 2005-10-19 18:19:41 +00:00
usr.sbin New sentence, new line. Use more, and more appropriate, mdoc macros. 2005-10-18 11:01:39 +00:00
x11 Enable XInput in all Xsun flavours. Fixes fallout from enabling XFree86. 2005-10-03 20:22:08 +00:00
build.sh It needs the braceexpand option for PD KSH, regardless of 2005-09-25 05:34:21 +00:00
BUILDING
Makefile
Makefile.inc
UPDATING note about conf/std. 2005-10-03 04:45:52 +00:00