cvs commit: src/sys/net if_ethersubr.c
silby at silby.com
Sat Aug 30 00:42:51 PDT 2003
On Fri, 29 Aug 2003, Robert Watson wrote:
> rwatson 2003/08/29 12:12:18 PDT
> FreeBSD src repository
> Modified files:
> sys/net if_ethersubr.c
> Introduce error checking for calls to M_PREPEND():
> ether_output() when prepending netatalk AFA_PHASE2 llc headers (TRYWAIT).
> ether_output() when prepending ethernet header to a frame (DONTWAIT).
I may have mentioned this before, but it would really useful to have code
which we could easily paste where needed that would do a "fail once per
This would be much more useful than random failures in detecting callers
that don't check return values because it would ensure that each case was
hit, whereas random failures only offer a statistical chance that it will
happen after a sufficiently long period of time.
I'm envisioning something which keeps a linked list of caller addresses...
horribly inefficient, but useable enough to be hidden being a
Mike "Silby" Silbersack
More information about the cvs-src