[PATCH 49/74] backports: add netlink length validation for 13

Johannes Berg <[email protected]> Fri, 24 May 2024 19:08:01 +0200
Newsgroups org.kernel.vger.backports
Message-ID <20240524190907.8d9f88bca281.Ie5f51a2a3b67734956f49ea9c1e1091f60400cdf@changeid>
From: Johannes Berg <[email protected]>

This is needed for EHT.

Signed-off-by: Johannes Berg <[email protected]>
---
 backport/backport-include/net/netlink.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/backport-include/net/netlink.h b/backport/backport-include/net/netlink.h
index 61c266d58196..782c063b7a9f 100644
--- a/backport/backport-include/net/netlink.h
+++ b/backport/backport-include/net/netlink.h
@@ -361,6 +361,7 @@ int nla_validate_min_len_##n(const struct nlattr *attr,			\
 }
 
 MIN_LEN_VALIDATION(2)
+MIN_LEN_VALIDATION(13)
 MIN_LEN_VALIDATION(16)
 MIN_LEN_VALIDATION(42)
 
-- 
2.45.1