1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/sys
Bill Paul cdb5ef5fba Fix handling of ENOBUFS condition. During reception, the filled mbuf
cluster from the RX descriptor is passed up to the higher layers and
replaced with an empty buffer for the next time the descriptor comes
up in the RX ring. The xl_newbuf() routine returns ENOBUFS if it can't
obtain a new mbuf cluster, but this return value was being ignored.
Now, if buffer allocation fails, we leave the old one in place and
drop the packet. This is rude, but there's not much else that can be
done in this situation.

Without this, the driver can cause a panic if the system runs out of
MBUF clusters. Now it will complain loudly, but it shouldn't cause a
panic.

Also added another pair of missing newlines to some printf()s.
1998-08-31 15:26:09 +00:00
..
alpha Initial support for using linux X servers under emulation - to use an 1998-08-31 06:55:02 +00:00
amd64 - hw.machine_arch returns cpu architecture type. 1998-08-31 08:41:58 +00:00
boot Minor tweaks to track a couple of i386 changes and to make it compile. 1998-08-22 10:31:01 +00:00
cfs Very Preliminary Coda 1998-08-29 21:14:52 +00:00
coda Very Preliminary Coda 1998-08-29 21:14:52 +00:00
compat Argh! *Now* the correct 3.0 fix is committed. 1998-08-31 10:53:33 +00:00
compile
conf Force OBJFORMAT=aout. 1998-08-31 11:43:26 +00:00
contrib/softupdates Handle the case of moving a directory onto the top of a sibling's 1998-08-12 20:46:47 +00:00
ddb Update to work with the new elf headers. 1998-08-17 08:06:31 +00:00
dev Enable duplex autodetection if UTP media are autodetected. 1998-08-27 22:41:18 +00:00
fs Very Preliminary Coda 1998-08-29 21:14:52 +00:00
geom Make struct buf->b_offset reflect the real byte offset which got 1998-08-19 10:50:32 +00:00
gnu Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00
i386 Force OBJFORMAT=aout. 1998-08-31 11:43:26 +00:00
isa Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00
isofs/cd9660 There is no such thing any more as "struct bdevsw". 1998-07-04 22:30:26 +00:00
kern - hw.machine_arch returns cpu architecture type. 1998-08-31 08:41:58 +00:00
libkern Converted rcsid to $Id$ again. There shouldn't be any rcsids in the kernel. 1998-08-17 19:26:37 +00:00
miscfs sort the prototypes 1998-08-25 17:48:54 +00:00
modules Shut this thing up, like the other LKMs 1998-08-24 05:31:57 +00:00
msdosfs Removed unused includes. 1998-08-17 19:09:36 +00:00
net Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
netatalk Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netinet Remove OpenBSD build support - let the Makefile vary per 1998-08-31 12:14:30 +00:00
netipx Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
netkey Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netnatm This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
nfsclient Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
nfsserver Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
pc98 - hw.machine_arch returns cpu architecture type. 1998-08-31 08:41:58 +00:00
pccard o renable pccard_remove_driver (it was used in the skel.c driver) 1998-08-26 07:09:58 +00:00
pci Fix handling of ENOBUFS condition. During reception, the filled mbuf 1998-08-31 15:26:09 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Add declaration of {aquire,release}_timer2(). 1998-07-22 08:26:23 +00:00
rpc
scsi remove bdevsw arg from dsopen(); 1998-08-23 20:16:35 +00:00
sys Add VT_CFS type. 1998-08-27 02:34:30 +00:00
tools VOP_STRATEGY grows an (struct vnode *) argument 1998-07-04 20:45:42 +00:00
ufs Quick fix for breakage of read clustering on non-IDE drives. Read 1998-08-18 03:54:39 +00:00
vm Fix a rounding problem that causes vnode pager to fail to remove the last 1998-08-25 13:47:37 +00:00
Makefile Only build the old boot loader on i386 if aout. The new loader will 1998-08-27 04:26:40 +00:00