]> git.ipfire.org Git - thirdparty/openwrt.git/commit
trelay: use struct_size helper in allocation 21960/head
authorRosen Penev <rosenp@gmail.com>
Sun, 8 Feb 2026 22:12:02 +0000 (14:12 -0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 13 Mar 2026 18:58:05 +0000 (19:58 +0100)
commit08d2c0514f0e75b8ef3d9f7fe2ef796ed95c4643
tree35e6cc1554b73404ee8322dcecb384ee2d41cd10
parent63e0c890385154fd910d8935b0147e2be8e43765
trelay: use struct_size helper in allocation

Makes it clear that the allocation is dealing with a flex array member.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21960
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/trelay/src/trelay.c