]> www.infradead.org Git - nvme.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)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Mar 2025 14:23:29 +0000 (15:23 +0100)
commit90a7138619a0c55e2aefaad27b12ffc2ddbeed78
tree7d52af3a075c30d6ab598887f2a4e1adefa0d262
parent23b763302ce068d7c97441e75434dc9f903adc7d
net/neighbor: add missing policy for NDTPA_QUEUE_LENBYTES

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>
net/core/neighbour.c