compat_xtables: dissolve unusued rt_dst

This commit is contained in:
Jan Engelhardt
2013-06-08 15:27:34 +02:00
parent 6fbb35d686
commit b5a2f9aa14
2 changed files with 1 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ static bool xttarpit_tarpit(struct tcphdr *tcph, const struct tcphdr *oth)
#if 0
/* Rate-limit replies to !SYN,ACKs */
if (!oth->syn && oth->ack)
if (!xrlim_allow(rt_dst(ort), HZ))
if (!xrlim_allow(&ort->dst, HZ))
return false;
#endif