diff options
author | Florian Westphal <fw@strlen.de> | 2024-11-13 16:35:49 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-11-14 12:40:08 +0100 |
commit | 4ee29181216d2acb7be210126324ec3bc0e3bd01 (patch) | |
tree | 4399cb49abd447d3e7d561be29e51cb5008d3519 /include/net | |
parent | 8340b0056ac723d04918573761b5d8f979d15a75 (diff) |
netfilter: nf_tables: add nft_trans_commit_list_add_elem helper
Add and use a wrapper to append trans_elem structures to the
transaction log.
Unlike the existing helper, pass a gfp_t to indicate if sleeping
is allowed.
This will be used by a followup patch to realloc nft_trans_elem
structures after they gain a flexible array member to reduce
number of such container structures on the transaction list.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions