diff options
author | Benjamin Berg <benjamin.berg@intel.com> | 2023-12-20 18:19:48 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-01-03 17:35:07 +0300 |
commit | b3231d353a51ddfb6ef7d17877d029790190f746 (patch) | |
tree | 7dbfe1ec17d26eb88c983e3ea82859608dac3afb /net/mac80211/tests | |
parent | 292010ee509443a1383bb079a4fa80515aa89a7f (diff) | |
download | linux-b3231d353a51ddfb6ef7d17877d029790190f746.tar.xz |
kunit: add a convenience allocation wrapper for SKBs
Add a simple convenience helper to allocate and zero fill an SKB for the
use by a kunit test. Also provide a way to free it again in case that
may be desirable.
This simply mirrors the kunit_kmalloc API.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: David Gow <davidgow@google.com>
Link: https://msgid.link/20231220151952.415232-3-benjamin@sipsolutions.net
[adjust file description as discussed]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tests')
0 files changed, 0 insertions, 0 deletions