mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 13:15:12 +02:00
DELUDE: update comment about reentrancy
This commit is contained in:
@@ -140,9 +140,11 @@ static void delude_send_reset(struct sk_buff *oldskb, unsigned int hook)
|
|||||||
static unsigned int
|
static unsigned int
|
||||||
delude_tg(struct sk_buff **pskb, const struct xt_action_param *par)
|
delude_tg(struct sk_buff **pskb, const struct xt_action_param *par)
|
||||||
{
|
{
|
||||||
/* WARNING: This code causes reentry within iptables.
|
/*
|
||||||
This means that the iptables jump stack is now crap. We
|
* Sending the reset causes reentrancy within iptables - and should not pose
|
||||||
must return an absolute verdict. --RR */
|
* 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(*pskb, par->hooknum);
|
||||||
return NF_DROP;
|
return NF_DROP;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user