freebsd-skq/sys/netgraph/bluetooth
rwatson 60909669f0 In order to reduce use of M_EXT outside of the mbuf allocator and
socket-buffer implementations, introduce a return value for MCLGET()
(and m_cljget() that underlies it) to allow the caller to avoid testing
M_EXT itself.  Update all callers to use the return value.

With this change, very few network device drivers remain aware of
M_EXT; the primary exceptions lie in mbuf-chain pretty printers for
debugging, and in a few cases, custom mbuf and cluster allocation
implementations.

NB: This is a difficult-to-test change as it touches many drivers for
which I don't have physical devices.  Instead we've gone for intensive
review, but further post-commit review would definitely be appreciated
to spot errors where changes could not easily be made mechanically,
but were largely mechanical in nature.

Differential Revision:	https://reviews.freebsd.org/D1440
Reviewed by:	adrian, bz, gnn
Sponsored by:	EMC / Isilon Storage Division
2015-01-06 12:59:37 +00:00
..
common Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
drivers In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
hci Fix several typos 2013-05-12 16:43:26 +00:00
include Use callout(9) instead of timeout(9). 2014-09-20 16:43:14 +00:00
l2cap
socket In preparation of merging projects/sendfile, transform bare access to 2014-11-12 09:57:15 +00:00