]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: No need to reference array when passing as pointer
authorPhil Sutter <phil@nwl.cc>
Fri, 17 Oct 2025 14:11:14 +0000 (16:11 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 23 Oct 2025 20:48:51 +0000 (22:48 +0200)
commit134b50e5d3f185219e09c613d98d6bf9494b1248
treee69e2b1863fd1f168bd4f4bc8a3b91600a2124c3
parentae052a6565f9e9a62ba68d0cbdd1993015310100
netlink: No need to reference array when passing as pointer

Struct nft_data_linearize::value is an array, drop the reference
operator.

Signed-off-by: Phil Sutter <phil@nwl.cc>
src/netlink.c
src/netlink_linearize.c