Commit 08e52cc
netfilter: nf_tables: prefer nft_trans_elem_alloc helper
Reduce references to sizeof(struct nft_trans_elem).
Preparation patch to move this to a flexiable array to store
elem references.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent 544dded commit 08e52cc
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6409 | 6409 | | |
6410 | 6410 | | |
6411 | 6411 | | |
6412 | | - | |
| 6412 | + | |
6413 | 6413 | | |
6414 | 6414 | | |
6415 | 6415 | | |
| |||
7471 | 7471 | | |
7472 | 7472 | | |
7473 | 7473 | | |
7474 | | - | |
7475 | | - | |
| 7474 | + | |
7476 | 7475 | | |
7477 | 7476 | | |
7478 | 7477 | | |
7479 | 7478 | | |
7480 | | - | |
7481 | 7479 | | |
7482 | 7480 | | |
7483 | 7481 | | |
| |||
0 commit comments