ipv4: Fix ip_local_out_sk by passing the sk into __ip_local_out_sk
[cascardo/linux.git] / net / ipv4 / netfilter / nft_redir_ipv4.c
index d8d795d..c09d438 100644 (file)
@@ -36,7 +36,7 @@ static void nft_redir_ipv4_eval(const struct nft_expr *expr,
        mr.range[0].flags |= priv->flags;
 
        regs->verdict.code = nf_nat_redirect_ipv4(pkt->skb, &mr,
-                                                 pkt->ops->hooknum);
+                                                 pkt->hook);
 }
 
 static struct nft_expr_type nft_redir_ipv4_type;