cvs commit: src/sys/dev/mxge if_mxge.c

Scott Long scottl at samsco.org
Wed Jan 31 15:56:50 UTC 2007


Andrew Gallatin wrote:
> gallatin    2007-01-31 15:47:44 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/mxge         if_mxge.c 
>   Log:
>   destroy busdma maps even if they are NULL, so as to avoid leaking
>   busdma tags.
>   
>   Revision  Changes    Path
>   1.19      +16 -18    src/sys/dev/mxge/if_mxge.c

Yeah, I can't stress enough that busdma maps are opaque handles and
should always be handled like they are valid.  It's only an
implementation detail that they are often NULL on i386 and amd64.

Scott



More information about the cvs-src mailing list