]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/neighbor: add missing policy for NDTPA_QUEUE_LENBYTES
authorLin Ma <linma@zju.edu.cn>
Sat, 15 Mar 2025 16:51:13 +0000 (00:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 21:03:28 +0000 (22:03 +0100)
commit250793874f914e039279e76c3fe36524ae3bc56d
tree3a27a44daf89cb14db89e199968837c763d0192c
parent176d0333aae43bd0b6d116b1ff4b91e9a15f88ef
net/neighbor: add missing policy for NDTPA_QUEUE_LENBYTES

[ Upstream commit 90a7138619a0c55e2aefaad27b12ffc2ddbeed78 ]

Previous commit 8b5c171bb3dc ("neigh: new unresolved queue limits")
introduces new netlink attribute NDTPA_QUEUE_LENBYTES to represent
approximative value for deprecated QUEUE_LEN. However, it forgot to add
the associated nla_policy in nl_ntbl_parm_policy array. Fix it with one
simple NLA_U32 type policy.

Fixes: 8b5c171bb3dc ("neigh: new unresolved queue limits")
Signed-off-by: Lin Ma <linma@zju.edu.cn>
Link: https://patch.msgid.link/20250315165113.37600-1-linma@zju.edu.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/core/neighbour.c