summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_input.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-07-03 16:03:49 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-07-03 16:03:49 +0000
commit7631563f2e950e4a04d1699639a06efb3cf3d5fb (patch)
tree93ce6652fea2a7b6abd6e65d79c6e3531d30cd44 /sys/net80211/ieee80211_input.c
parent815069a95484de30da9fe7da56c3d9c3cfb3adf0 (diff)
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.
Diffstat (limited to 'sys/net80211/ieee80211_input.c')
0 files changed, 0 insertions, 0 deletions