|
@@ -672,7 +672,7 @@ nft_target_select_ops(const struct nft_ctx *ctx,
|
|
|
family = ctx->afi->family;
|
|
|
|
|
|
/* Re-use the existing target if it's already loaded. */
|
|
|
- list_for_each_entry(nft_target, &nft_match_list, head) {
|
|
|
+ list_for_each_entry(nft_target, &nft_target_list, head) {
|
|
|
struct xt_target *target = nft_target->ops.data;
|
|
|
|
|
|
if (strcmp(target->name, tg_name) == 0 &&
|