]> www.infradead.org Git - users/dwmw2/linux.git/commit
netfilter: nf_tables: Store user-defined hook ifname
authorPhil Sutter <phil@nwl.cc>
Thu, 9 Jan 2025 17:31:33 +0000 (18:31 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 19 Jan 2025 15:41:53 +0000 (16:41 +0100)
commitb7c2d793c28cda7dbb67d6b427e3280b7c1e601a
treedbb4ff3cf5a2bd60c692a91d1b9e760de2c20b49
parent2a67414a143e120527e17f8372f13d3b31eeb5a3
netfilter: nf_tables: Store user-defined hook ifname

Prepare for hooks with NULL ops.dev pointer (due to non-existent device)
and store the interface name and length as specified by the user upon
creation. No functional change intended.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c