compat_xtables: remove no longer needed target API redirection

Function signature for targets stayed the same since 3.7.
This commit is contained in:
Jan Engelhardt
2014-01-09 10:24:32 +01:00
parent b58e78968e
commit 991c0cf4cf
12 changed files with 25 additions and 118 deletions

View File

@@ -138,14 +138,14 @@ static void delude_send_reset(struct sk_buff *oldskb, unsigned int hook)
}
static unsigned int
delude_tg(struct sk_buff **pskb, const struct xt_action_param *par)
delude_tg(struct sk_buff *skb, const struct xt_action_param *par)
{
/*
* Sending the reset causes reentrancy within iptables - and should not pose
* a problem, as that is supported since Linux 2.6.35. But since we do not
* actually want to have a connection open, we are still going to drop it.
*/
delude_send_reset(*pskb, par->hooknum);
delude_send_reset(skb, par->hooknum);
return NF_DROP;
}