[PATCH 32/38] backports: add netlink length validation for 13

Johannes Berg <[email protected]> Tue, 11 Oct 2022 23:04:40 +0200
Newsgroups org.kernel.vger.backports
Message-ID <20221011230356.b644475cebaf.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 e78a0ff7971c..0de0de5ff8ad 100644
--- a/backport/backport-include/net/netlink.h
+++ b/backport/backport-include/net/netlink.h
@@ -561,6 +561,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.37.3

--
To unsubscribe from this list: send the line "unsubscribe backports" in