1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/net
Bosko Milekic 2a0c503e7a * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT.
This is because calls with M_WAIT (now M_TRYWAIT) may not wait
  forever when nothing is available for allocation, and may end up
  returning NULL. Hopefully we now communicate more of the right thing
  to developers and make it very clear that it's necessary to check whether
  calls with M_(TRY)WAIT also resulted in a failed allocation.
  M_TRYWAIT basically means "try harder, block if necessary, but don't
  necessarily wait forever." The time spent blocking is tunable with
  the kern.ipc.mbuf_wait sysctl.
  M_WAIT is now deprecated but still defined for the next little while.

* Fix a typo in a comment in mbuf.h

* Fix some code that was actually passing the mbuf subsystem's M_WAIT to
  malloc(). Made it pass M_WAITOK instead. If we were ever to redefine the
  value of the M_WAIT flag, this could have became a big problem.
2000-12-21 21:44:31 +00:00
..
bpf_compat.h * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
bpf_filter.c
bpf.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
bpf.h
bpfdesc.h
bridge.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
bridge.h
bsd_comp.c
ethernet.h
fddi.h
hostcache.c
hostcache.h
if_arp.h
if_atm.h
if_atmsubr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_disc.c
if_dl.h
if_ef.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
if_ethersubr.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
if_faith.c
if_fddisubr.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
if_gif.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
if_gif.h
if_ieee80211.h
if_iso88025subr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_llc.h
if_loop.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_media.c
if_media.h
if_mib.c
if_mib.h
if_ppp.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_ppp.h
if_pppvar.h
if_sl.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c Various fixes to make leased line operation more robust. On lcp_up, start 2000-12-19 19:08:11 +00:00
if_stf.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
if_stf.h
if_tap.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
if_tap.h
if_tapvar.h
if_tun.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
if_tun.h
if_tunvar.h
if_types.h
if_var.h Unbreak world; #include <sys/mutex.h> instead of <machine/mutex.h> 2000-11-26 21:47:01 +00:00
if_vlan_var.h
if_vlan.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
if.h
intrq.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
intrq.h
iso88025.h
net_osdep.c
net_osdep.h
netisr.h Remove the last of the MD netisr code. It is now all MI. Remove 2000-12-05 00:36:00 +00:00
pfil.c
pfil.h
pfkeyv2.h
ppp_comp.h
ppp_deflate.c
ppp_defs.h
ppp_tty.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c
route.h
rtsock.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h