]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: Call mnl_attr_nest_end() just once
authorPhil Sutter <phil@nwl.cc>
Wed, 16 Jul 2025 12:26:08 +0000 (14:26 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 16 Jul 2025 13:25:02 +0000 (15:25 +0200)
commit8a1de0ec9709b58a80a86a20cfba107b11c85f6e
treeb6ef032a4d7175ededf97de219cf0e1914e0077e
parent364f9c5565c6398955931424237adf8e3de78a85
mnl: Call mnl_attr_nest_end() just once

Calling the function after each added nested attribute is harmless but
pointless.

Fixes: a66b5ad9540dd ("src: allow for updating devices on existing netdev chain")
Signed-off-by: Phil Sutter <phil@nwl.cc>
src/mnl.c