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
..
2005-10-11 16:01:03 +00:00
2005-10-15 19:32:36 +00:00
2005-08-29 17:20:31 +00:00
2005-08-26 12:42:11 +00:00
2005-08-28 15:39:12 +00:00
2005-08-26 12:42:11 +00:00
2005-09-03 22:55:55 +00:00
2005-10-15 15:41:22 +00:00
2005-10-17 03:08:24 +00:00
2005-08-26 12:42:11 +00:00
2005-10-09 02:16:35 +00:00
2005-09-27 14:47:41 +00:00