OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Damien Bergamini (damiencvs.openbsd.org)
Date: Tue Jul 03 2007 - 11:03:48 CDT


CVSROOT: /cvs
Module name: src
Changes by: damiencvs.openbsd.org 2007/07/03 10:03:48

Modified files:
        sys/net80211 : ieee80211_output.c

Log message:
In ieee80211_getmbuf(), if we need to allocate a mbuf cluster because
the length is greater than MHLEN, test that the allocation succeeded.
Otherwise, free the mbuf header and return NULL.
Callers assume that if the function returns a value != NULL then
enough space has been allocated.