]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: Pass netlink_ctx to netlink_delinearize_setelem()
authorPhil Sutter <phil@nwl.cc>
Fri, 16 May 2025 17:17:00 +0000 (19:17 +0200)
committerPhil Sutter <phil@nwl.cc>
Sun, 25 May 2025 07:55:35 +0000 (09:55 +0200)
commit6296f09b8b8ecb6d46cfcd90fd955a39bd86c6c9
tree4bddcf733ca5b5a30699f04f60397a1a7a5b4581
parent9f2a11aa15422333d1812501dd4f294348d6e0d5
netlink: Pass netlink_ctx to netlink_delinearize_setelem()

Prepare for calling netlink_io_error() which needs the context pointer.
Trade this in for the cache pointer since no caller uses a special one.
No functional change intended.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/netlink.h
src/monitor.c
src/netlink.c