summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/man/pthread_mutex_destroy.3
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-08-31 15:26:09 +0000
committerwpaul <wpaul@FreeBSD.org>1998-08-31 15:26:09 +0000
commit1d273f83401112b34167b08b1a4739ab21e9dde4 (patch)
tree5ac2a7e5e98bdd7a67ea1593b8774428c3a92e78 /lib/libc_r/man/pthread_mutex_destroy.3
parentc077a48b51a0809a3af6dfe3a6c2aaa41121485f (diff)
downloadFreeBSD-src-1d273f83401112b34167b08b1a4739ab21e9dde4.zip
FreeBSD-src-1d273f83401112b34167b08b1a4739ab21e9dde4.tar.gz
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.
Diffstat (limited to 'lib/libc_r/man/pthread_mutex_destroy.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud