mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-03-31 06:56:52 +02:00

The name attribute in the NEW RADIO command needs at least 4 bytes for the attribute header (struct nlattr), all the characters of the name string and a NUL byte, and up to 3 bytes of alignment padding. Otherwise, depending on the name length and whether the NO_VIF attribute was the last, that attribute could end up being dropped and we were ending up with too many interfaces inside test-runner.