build: remove support for Linux 2.6.22

This commit is contained in:
Jan Engelhardt
2012-10-15 23:28:03 +02:00
parent a66e4510b8
commit 6ab4c02a54
4 changed files with 7 additions and 36 deletions

View File

@@ -54,11 +54,7 @@ xt_chaos_total(struct sk_buff *skb, const struct xt_action_param *par)
const int fragoff = ntohs(iph->frag_off) & IP_OFFSET;
typeof(xt_tarpit) destiny;
bool ret;
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 22)
int hotdrop = false;
#else
bool hotdrop = false;
#endif
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 27)
ret = xm_tcp->match(skb, par->in, par->out, xm_tcp, &tcp_params,